Uses of Interface
com.iohao.net.framework.protocol.CommunicationMessage
Packages that use CommunicationMessage
Package
Description
Provides simulated client user abstractions, channel wrappers, and user-side pressure testing
support used by the simulation client module.
Provides configuration objects and options for building and customizing external-server runtime
behavior.
Provides external-server hook extension points for request lifecycle interception, session state,
and connection-idle related processing.
Provides route-level external-server caching support for serving hot data directly from the
external layer and reducing logic-server round trips.
Provides the external-server unified interaction protocol, related codecs, and customization
points for client-facing message encoding/decoding.
Provides Aeron message encoding and decoding support used by the external-server internal
communication layer.
Provides Aeron fragment handlers that decode and dispatch internal messages for the external
server runtime.
Provides Netty channel handlers used by the external-server implementation to decode requests,
manage pipelines, and dispatch messages.
Provides user-session abstractions and implementations used by external servers to track
connected users and session-scoped metadata.
Provides protocol metadata and structures used to represent command routes, headers, and payload
conventions across the ionet framework.
-
Uses of CommunicationMessage in com.iohao.net.extension.client.user
Methods in com.iohao.net.extension.client.user with parameters of type CommunicationMessage -
Uses of CommunicationMessage in com.iohao.net.external.core.config
Methods in com.iohao.net.external.core.config with parameters of type CommunicationMessageModifier and TypeMethodDescriptionvoidUserRequestEnhance.enhance(CommunicationMessage message) Mutate or augment the decoded request message before it is processed. -
Uses of CommunicationMessage in com.iohao.net.external.core.hook
Methods in com.iohao.net.external.core.hook with parameters of type CommunicationMessageModifier and TypeMethodDescriptiondefault voidIdleHook.pongBefore(CommunicationMessage idleMessage) Callback before heartbeat response (pong). -
Uses of CommunicationMessage in com.iohao.net.external.core.hook.cache
Methods in com.iohao.net.external.core.hook.cache that return CommunicationMessageModifier and TypeMethodDescriptionExternalCmdCache.getCache(CommunicationMessage message) Gets data from the cache.Methods in com.iohao.net.external.core.hook.cache with parameters of type CommunicationMessageModifier and TypeMethodDescriptionvoidExternalCmdCache.addCacheData(CommunicationMessage responseMessage) Adds the response data to the cache.ExternalCmdCache.getCache(CommunicationMessage message) Gets data from the cache. -
Uses of CommunicationMessage in com.iohao.net.external.core.message
Classes in com.iohao.net.external.core.message that implement CommunicationMessageModifier and TypeClassDescriptionfinal classDefault external transport message used between clients and the external server.Methods in com.iohao.net.external.core.message that return CommunicationMessageModifier and TypeMethodDescriptionCommunicationMessageCodec.createCommunicationMessage()Create a new mutable message instance for outgoing writes.static CommunicationMessageCommunicationMessageKit.createCommunicationMessage()Create a new communication message via the active codec.DefaultCommunicationMessageCodec.createCommunicationMessage()Create a business-message template with the default command code.default CommunicationMessageCommunicationMessageCodec.decode(byte[] bytes) Decode a serialized external message.static CommunicationMessageCommunicationMessageKit.decode(byte[] bytes) Decode an external message from bytes.Methods in com.iohao.net.external.core.message with parameters of type CommunicationMessageModifier and TypeMethodDescriptiondefault byte[]CommunicationMessageCodec.encode(CommunicationMessage message) Encode a communication message with the currently configured data codec.static byte[]CommunicationMessageKit.encode(CommunicationMessage message) Encode a communication message to bytes.static voidExternalWriteKit.writeAndFlush(CommunicationMessage message, UserSessions<?, ?> userSessions) Resolve the target user session and flush the message if the session exists. -
Uses of CommunicationMessage in com.iohao.net.external.core.net.codec
Classes in com.iohao.net.external.core.net.codec that implement interfaces with type arguments of type CommunicationMessageModifier and TypeClassDescriptionclassSBE encoder for outboundCommunicationMessageinstances sent to the net server.Methods in com.iohao.net.external.core.net.codec with parameters of type CommunicationMessageModifier and TypeMethodDescriptionvoidCommunicationMessageSbe.encoder(CommunicationMessage message, MessageHeaderEncoder headerEncoder, org.agrona.MutableDirectBuffer buffer) protected voidCommunicationMessageSbe.extracted(CommunicationMessage message) Hook for subclasses to encode transport-specific extensions before payload/attachment bytes. -
Uses of CommunicationMessage in com.iohao.net.external.core.net.fragment
Methods in com.iohao.net.external.core.net.fragment with parameters of type CommunicationMessageModifier and TypeMethodDescriptionprotected voidBroadcastMulticastMessageOnFragment.writeAndFlush(CommunicationMessage message) Broadcast the decoded message to all user sessions in the current external server.protected voidBroadcastUserListMessageOnFragment.writeAndFlush(CommunicationMessage message, long[] userIds) Write the decoded message to each resolved user session in the provided list.protected voidBroadcastUserMessageOnFragment.writeAndFlush(CommunicationMessage message) Resolve and write the decoded message to its target user session.protected voidUserResponseMessageOnFragment.writeAndFlush(CommunicationMessage message) Resolve the target user session and flush the decoded response. -
Uses of CommunicationMessage in com.iohao.net.external.core.netty.handler
Subclasses with type arguments of type CommunicationMessage in com.iohao.net.external.core.netty.handlerModifier and TypeClassDescriptionfinal classNetty codec that converts length-prefixed TCP frames to/fromCommunicationMessage.final classForwards validated user requests to the selected logic server.final classNetty codec that converts betweenBinaryWebSocketFrameandCommunicationMessage.Methods in com.iohao.net.external.core.netty.handler with parameters of type CommunicationMessageModifier and TypeMethodDescriptionprotected voidUserRequestHandler.channelRead0(io.netty.channel.ChannelHandlerContext ctx, CommunicationMessage message) protected voidTcpExternalCodec.encode(io.netty.channel.ChannelHandlerContext ctx, CommunicationMessage message, List<Object> out) protected voidWebSocketExternalCodec.encode(io.netty.channel.ChannelHandlerContext ctx, CommunicationMessage message, List<Object> out) protected booleanSocketCmdAccessAuthHandler.notPass(io.netty.channel.ChannelHandlerContext ctx, CommunicationMessage message, boolean loginSuccess) protected booleanSocketCmdAccessAuthHandler.reject(io.netty.channel.ChannelHandlerContext ctx, CommunicationMessage message) -
Uses of CommunicationMessage in com.iohao.net.external.core.session
Methods in com.iohao.net.external.core.session that return CommunicationMessageModifier and TypeMethodDescriptiondefault CommunicationMessageCreate and populate a communication message for the given route.Methods in com.iohao.net.external.core.session with parameters of type CommunicationMessageModifier and TypeMethodDescriptionvoidUserSession.employ(CommunicationMessage message) Adds user info to request. -
Uses of CommunicationMessage in com.iohao.net.framework.protocol
Classes in com.iohao.net.framework.protocol that implement CommunicationMessageModifier and TypeClassDescriptionclassAbstract base implementation ofCommunicationMessagefor external protocol codecs.