Uses of Class
io.agentscope.harness.agent.subagent.protocol.RemoteAgentEvent
Packages that use RemoteAgentEvent
Package
Description
-
Uses of RemoteAgentEvent in io.agentscope.harness.agent.subagent.protocol
Methods in io.agentscope.harness.agent.subagent.protocol that return types with arguments of type RemoteAgentEventModifier and TypeMethodDescriptionstatic Optional<RemoteAgentEvent>RemoteEventCodec.fromAgentEvent(io.agentscope.core.event.AgentEvent event) Maps an internal agent event to a protocol DTO (without seq/taskId — those are assigned by the server event bus).Methods in io.agentscope.harness.agent.subagent.protocol with parameters of type RemoteAgentEventModifier and TypeMethodDescriptionstatic booleanRemoteEventCodec.matchesDetail(RemoteAgentEvent event, String detail) Detail check for a whole DTO; equivalent toRemoteEventCodec.matchesDetail(RemoteEventType, String).static Optional<io.agentscope.core.event.AgentEvent>RemoteEventCodec.toAgentEvent(RemoteAgentEvent remote) Maps a protocol DTO back to an internalAgentEvent. -
Uses of RemoteAgentEvent in io.agentscope.harness.agent.subagent.task
Method parameters in io.agentscope.harness.agent.subagent.task with type arguments of type RemoteAgentEventModifier and TypeMethodDescriptionAgentProtocolTaskClient.openEventStream(String baseUrl, Map<String, String> headers, String taskId, long fromSeq, Consumer<RemoteAgentEvent> consumer) OpensGET /tasks/{taskId}/eventsas an SSE stream and delivers parsed events toconsumer.AgentProtocolTransport.streamEvents(RemoteTarget target, String taskId, long fromSeq, Consumer<RemoteAgentEvent> consumer) default CloseableRemoteSubagentTransport.streamEvents(RemoteTarget target, String taskId, long fromSeq, Consumer<RemoteAgentEvent> consumer) Opens an event stream for the remote task.