Uses of Record Class
io.agentscope.harness.agent.gateway.channel.InboundMessage
Packages that use InboundMessage
Package
Description
-
Uses of InboundMessage in io.agentscope.harness.agent.gateway
Methods in io.agentscope.harness.agent.gateway with parameters of type InboundMessageModifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<io.agentscope.core.message.Msg>Gateway.run(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress, io.agentscope.core.agent.RuntimeContext callerContext, InboundMessage inboundMessage) Inbound turn with full Channel metadata forChannelRuntimeContextResolver.reactor.core.publisher.Mono<io.agentscope.core.message.Msg>HarnessGateway.run(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress, io.agentscope.core.agent.RuntimeContext callerContext, InboundMessage inboundMessage) default reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>Gateway.runStream(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress, io.agentscope.core.agent.RuntimeContext callerContext, InboundMessage inboundMessage) Streaming variant ofGateway.run(MsgContext, List, OutboundAddress, RuntimeContext, InboundMessage).reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>HarnessGateway.runStream(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress, io.agentscope.core.agent.RuntimeContext callerContext, InboundMessage inboundMessage) -
Uses of InboundMessage in io.agentscope.harness.agent.gateway.channel
Methods in io.agentscope.harness.agent.gateway.channel that return InboundMessageModifier and TypeMethodDescriptionInboundMessage.Builder.build()static InboundMessageInboundMessage.channel(String channelId, String roomId, String senderId, String guild, List<io.agentscope.core.message.Msg> messages) Channel / group message with optional guild context.static InboundMessageInboundMessage.channel(String channelId, String roomId, String guild, List<io.agentscope.core.message.Msg> messages) Channel message with optional guild context (no explicit senderId — sender identity unknown, falls back to room peer for isolation).static InboundMessageSingle-turn DM with no guild/team/role metadata (typical for direct chat UI use).static InboundMessageInboundMessage.dmFor(String channelId, String peerId, String agentId, List<io.agentscope.core.message.Msg> messages) Single-turn DM with an explicitpreferredAgentId()override — the router will use the suppliedagentIdas a tier-0 short-circuit instead of evaluating bindings.ChannelRuntimeContextRequest.inboundMessage()Returns the value of theinboundMessagerecord component.InboundMessage.withRuntimeContext(io.agentscope.core.agent.RuntimeContext runtimeContext) Returns a copy carrying the givenRuntimeContext.Methods in io.agentscope.harness.agent.gateway.channel with parameters of type InboundMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<io.agentscope.core.message.Msg>Channel.dispatch(InboundMessage message) Dispatches a fully constructedInboundMessagethrough routing and returns the agent reply.default reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>Channel.dispatchStream(InboundMessage message) Streaming variant ofChannel.dispatch(InboundMessage).ChannelRouter.resolveRoute(ChannelConfig config, InboundMessage msg) Evaluates bindings in priority order and returns aRouteResultready for gateway execution.Constructors in io.agentscope.harness.agent.gateway.channel with parameters of type InboundMessageModifierConstructorDescriptionChannelRuntimeContextRequest(String channelId, InboundMessage inboundMessage, MsgContext msgContext, OutboundAddress outboundAddress, io.agentscope.core.agent.RuntimeContext callerContext) Creates an instance of aChannelRuntimeContextRequestrecord class. -
Uses of InboundMessage in io.agentscope.harness.agent.gateway.channel.chatui
Methods in io.agentscope.harness.agent.gateway.channel.chatui with parameters of type InboundMessageModifier and TypeMethodDescriptionreactor.core.publisher.Mono<io.agentscope.core.message.Msg>ChatUiChannel.dispatch(InboundMessage message) reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>ChatUiChannel.dispatchStream(InboundMessage message) ChatUiChannel.previewRoute(InboundMessage message) Returns theRouteResultthis channel would produce formessagewithout dispatching it.