Uses of Interface
com.mulesoft.connectors.a2a.internal.server.agent.repository.TaskRepository
Packages that use TaskRepository
Package
Description
-
Uses of TaskRepository in com.mulesoft.connectors.a2a.internal.server.agent
Methods in com.mulesoft.connectors.a2a.internal.server.agent that return TaskRepositoryModifier and TypeMethodDescriptionRequestHandlerContext.getTaskRepository()ServerAgent.getTaskRepository()Methods in com.mulesoft.connectors.a2a.internal.server.agent with parameters of type TaskRepositoryModifier and TypeMethodDescriptionprotected voidServerAgent.setTaskRepository(TaskRepository taskRepository) Sets the task repository.RequestHandlerContext.Builder.taskRepository(TaskRepository taskRepository) -
Uses of TaskRepository in com.mulesoft.connectors.a2a.internal.server.agent.repository
Classes in com.mulesoft.connectors.a2a.internal.server.agent.repository that implement TaskRepositoryModifier and TypeClassDescriptionclassDefault implementation of TaskRepository that manages task data and push notification configs.classConstructors in com.mulesoft.connectors.a2a.internal.server.agent.repository with parameters of type TaskRepositoryModifierConstructorDescriptionDefaultTaskStoreServiceImpl(TaskRepository taskRepository, A2ASerializer a2ASerializer) -
Uses of TaskRepository in com.mulesoft.connectors.a2a.internal.server.agent.sse
Constructors in com.mulesoft.connectors.a2a.internal.server.agent.sse with parameters of type TaskRepositoryModifierConstructorDescriptionCrossWorkerPoller(String taskId, org.mule.runtime.http.api.sse.server.SseClient client, TaskRepository repository, A2ASerializer a2ASerializer, SseClientRegistry sseClientRegistry, org.mule.runtime.api.scheduler.Scheduler scheduler) -
Uses of TaskRepository in com.mulesoft.connectors.a2a.internal.server.agent.utils
Methods in com.mulesoft.connectors.a2a.internal.server.agent.utils with parameters of type TaskRepositoryModifier and TypeMethodDescriptionstatic voidSseUtils.broadcastEvent(String taskId, String eventType, io.a2a.spec.StreamingEventKind streamingEvent, TaskRepository taskRepository, A2ASerializer a2ASerializer, SseClientRegistry sseClientRegistry) Broadcasts an SSE event to all clients for a specific taskstatic StringSseUtils.createStreamingResponse(String taskId, io.a2a.spec.StreamingEventKind streamingEvent, TaskRepository taskRepository) Creates a JSON-RPC success response for SSE eventsSseUtils.getBufferedEvents(TaskRepository taskRepository, String taskId) Gets buffered events for a task, returns empty list if none foundstatic voidSseUtils.handleClientFailure(String taskId, org.mule.runtime.http.api.sse.server.SseClient sseClient, TaskRepository taskRepository, A2ASerializer a2ASerializer, SseClientRegistry sseClientRegistry) Handles client failure - sends failure event to the specific client.static voidSseUtils.replayBufferedEventsToClient(List<TaskEvent> bufferedEvents, String taskId, org.mule.runtime.http.api.sse.server.SseClient sseClient, TaskRepository taskRepository, A2ASerializer a2ASerializer, SseClientRegistry sseClientRegistry) Sends buffered events to a specific SSE client (for resubscribe scenarios)