Byte array (de)serializers for putting some protocol on the wire so that incoming messages can be constructed from stream data.
Class Summary Class Description AbstractByteArraySerializerBase class for (de)serializers that provide a mechanism to reconstruct a byte array from an arbitrary stream. AbstractPooledBufferByteArraySerializerBase class for deserializers that cannot determine the buffer size needed. ByteArrayCrLfSerializerReads data in an InputStream to a byte; data must be terminated by \r\n (not included in resulting byte). ByteArrayElasticRawDeserializerA deserializer that uses a
ByteArrayOutputStreaminstead of a fixed buffer, allowing the buffer to grow as needed.
ByteArrayLengthHeaderSerializerReads data in an InputStream to a byte; data must be preceded by a binary length (network byte order, not included in resulting byte). ByteArrayLfSerializer ByteArrayRawSerializerA byte array (de)serializer that does nothing with the payload; sends it raw. ByteArraySingleTerminatorSerializerReads data in an InputStream to a byte; data must be terminated by a single byte (not included in resulting byte). ByteArrayStxEtxSerializerReads data in an InputStream to a byte; data must be prefixed by <stx> and terminated by <etx> (not included in resulting byte). MapJsonSerializerSerializes a
TcpCodecsFactory class to create TCP Serializer/Deserializers used to encode/decode messages to/from a TCP stream. TcpDeserializationExceptionEventEvent representing an exception while decoding an incoming stream.
Exception Summary Exception Description SoftEndOfStreamExceptionUsed to communicate that a stream has closed, but between logical messages.