Package com.iohao.net.framework.protocol
package com.iohao.net.framework.protocol
Provides protocol metadata and structures used to represent command routes, headers, and payload
conventions across the ionet framework.
- Author:
- 渔民小镇
- date:
- 2024-08-07
-
ClassDescriptionAbstract base implementation of
CommunicationMessagefor external protocol codecs.Enumeration of dynamic binding operations for logic server assignment.Message that requests a dynamic binding change between users and logic servers.Fluent builder for constructingBindingLogicServerMessageinstances.Sealed base class for all broadcast message types sent from logic servers to external servers.Broadcast message targeting all connected users (multicast / global broadcast).Broadcast message targeting an explicit list of users.Broadcast message targeting a single user (unicast).Constants for command code types used in the external protocol layer.Base class for internal messages exchanged between logic servers via Aeron.Common response contract providing error code and message accessors.Contract for external communication messages exchanged between clients and the external server.Response message sent when a server successfully connects (joins) the cluster.Lightweight external response that carries only error information and no payload.Request message sent from an external (Netty) server to a logic server.Response returned from an external (Netty) server.Concrete response message returned from an external (Netty) server to a logic server.Message that carries a future correlation id for asynchronous request/response matching.Reserved template id constants used by the external server for internal operations.Contract for messages transmitted between servers in the ionet cluster.Represent an inbound request message carrying routing, identity, and attachment metadata.Internal request message used for logic-to-logic server communication via Aeron.Represent an outbound response message with typed data extraction capabilities.Aggregated response collected from multiple logic servers.Aggregated response collected from multiple external (Netty) servers.Default implementation ofResponseCollectExternalthat stores aggregated responses collected from multiple external (Netty) servers.Default implementation ofResponseCollectthat stores aggregated responses from multiple logic servers.Internal response message used for logic-to-logic server communication via Aeron.Fire-and-forget request message for one-way logic-to-logic server communication.Immutable record representing a registered server instance in the ionet cluster.Builder for constructingServerinstances with sensible defaults.Sealed base class for server registration and connection messages exchanged with the center server.Notification record indicating that a server has gone offline.Request message sent from one server to another within the cluster.Enumeration of server types within the ionet cluster.Result of a user id binding (setting) operation on the external server.Contract for messages that carry user identity and authentication state.User-facing request message received from the external Netty pipeline.User-facing response message sent back through the external Netty pipeline to the client.