public static class McpSchema.ProgressNotification extends java.lang.Object implements McpSchema.Notification
| 构造器和说明 |
|---|
ProgressNotification(java.lang.Object progressToken,
double progress,
java.lang.Double total,
java.lang.String message) |
ProgressNotification(java.lang.Object progressToken,
double progress,
java.lang.Double total,
java.lang.String message,
java.util.Map<java.lang.String,java.lang.Object> meta) |
public ProgressNotification(java.lang.Object progressToken,
double progress,
java.lang.Double total,
java.lang.String message,
java.util.Map<java.lang.String,java.lang.Object> meta)
progressToken - A unique token to identify the progress notification. MUST be
unique across all active requests.progress - A value indicating the current progress.total - An optional total amount of work to be done, if known.message - An optional message providing additional context about the progress.meta - See specification for notes on _meta usagepublic ProgressNotification(java.lang.Object progressToken,
double progress,
java.lang.Double total,
java.lang.String message)
public java.lang.Object progressToken()
public java.lang.Double progress()
public java.lang.Double total()
public java.lang.String message()
public java.util.Map<java.lang.String,java.lang.Object> meta()
meta 在接口中 McpSchema.Meta