Package com.iohao.net.common
package com.iohao.net.common
Common Aeron/SBE support abstractions shared by networking modules.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-08-25
-
ClassDescriptionShared Aeron channel names, stream ids, and default ports used by net-common.Manages Aeron publications and fragment polling for common network connections.Default single-threaded
Publisherimplementation backed by per-publication queues.DefaultSbeCodecthat maps framework message fields to SBE generated codecs.MessageSbe<T>Encodes a specific message type into an SBE buffer.Global configuration entry for net-common components.Handles a decoded Aeron fragment for a specific SBE template id.Registry forOnFragmenthandlers keyed by SBE template id.Queues and publishes encoded messages to Aeron publications.Marker interface for publisher worker runnables.Abstraction for encoding and decoding framework message models with SBE generated codecs.Static facade for the activeSbeCodecimplementation.Registry for message-class toMessageSbeencoder mappings.Encodes and decodesServerMessagecommon fields with SBE generated codecs.