Uses of Interface
io.a2a.client.ClientEvent
Packages that use ClientEvent
-
Uses of ClientEvent in io.a2a.client
Classes in io.a2a.client that implement ClientEventModifier and TypeClassDescriptionfinal classA client event containing an agent's message response.final classA client event containing the complete state of a task.final classA client event containing an incremental update to a task.Fields in io.a2a.client with type parameters of type ClientEventModifier and TypeFieldDescriptionprotected final @NonNull List<BiConsumer<ClientEvent,AgentCard>> AbstractClient.consumersMethod parameters in io.a2a.client with type arguments of type ClientEventModifier and TypeMethodDescriptionClientBuilder.addConsumer(BiConsumer<ClientEvent, AgentCard> consumer) Add a single event consumer to process events from the agent.ClientBuilder.addConsumers(List<BiConsumer<ClientEvent, AgentCard>> consumers) Add multiple event consumers to process events from the agent.voidAbstractClient.sendMessage(@NonNull Message request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler) Send a message to the remote agent.abstract voidAbstractClient.sendMessage(@NonNull Message request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) Send a message to the remote agent.voidClient.sendMessage(@NonNull Message request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) voidAbstractClient.subscribeToTask(@NonNull TaskIdParams request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler) Subscribe to a task's event stream.abstract voidAbstractClient.subscribeToTask(@NonNull TaskIdParams request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) Subscribe to a task's event stream.voidClient.subscribeToTask(@NonNull TaskIdParams request, @NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler, @Nullable ClientCallContext context) Subscribe to an existing task to receive remaining events.Constructor parameters in io.a2a.client with type arguments of type ClientEventModifierConstructorDescriptionAbstractClient(@NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers) AbstractClient(@NonNull List<BiConsumer<ClientEvent, AgentCard>> consumers, @Nullable Consumer<Throwable> streamingErrorHandler)