Class UpdateTaskStatusOperation
java.lang.Object
com.mulesoft.connectors.a2a.internal.server.operations.UpdateTaskStatusOperation
Server operation to update task status and broadcast the update to connected SSE clients.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateTaskStatus(ServerAgent connection, InputStream statusContent) Updates a task status and broadcasts the update to all connected SSE clients.
-
Constructor Details
-
UpdateTaskStatusOperation
public UpdateTaskStatusOperation()
-
-
Method Details
-
updateTaskStatus
@DisplayName("A2A Server - Update Task Status") @Throws({JsonRpcErrorTypeProvider.class,BasicOperationErrorTypeProvider.class,StreamingErrorTypeProvider.class}) public void updateTaskStatus(@Connection ServerAgent connection, @Content @DisplayName("Status Update Content") @Summary("TaskStatusUpdateEvent content following A2A specification") InputStream statusContent) throws org.mule.runtime.api.exception.MuleException Updates a task status and broadcasts the update to all connected SSE clients.- Parameters:
connection- the server agent connectionstatusContent- the TaskStatusUpdateEvent content following A2A specification- Throws:
org.mule.runtime.api.exception.MuleException- if the operation fails due to parsing errors or broadcasting issues
-