Package | Description |
---|---|
org.snf4j.core.codec |
Provides interfaces and classes for implementing encoders, decoders and
codec pipelines.
|
org.snf4j.core.codec.bytes |
Encoders and decoders which transform an array of bytes into a
ByteBuffer and vice versa. |
org.snf4j.core.codec.zip | |
org.snf4j.example.dtls |
A DTLS client/server example.
|
org.snf4j.example.echo |
An echoing (ping-pong traffic) client/server example.
|
org.snf4j.example.sctp |
An SCTP client/server example.
|
org.snf4j.example.websocket |
A WebSocket (data transfer and web chat) client/server example.
|
org.snf4j.websocket.extensions.compress |
Provides interfaces and classes implementing the Web Socket compress extensions.
|
org.snf4j.websocket.frame |
Provides interfaces and classes for the Web Socket frames and related codecs.
|
org.snf4j.websocket.handshake |
Provides interfaces and classes for the Web Socket handshake frames and related codecs.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IBaseDecoder<I,O>
A special decoder that can determine how many bytes should be read from the
input buffer to create the byte array of the inbound data that can be decoded
by this decoder.
|
interface |
IDecoder<I,O>
A decoder that can be managed by a codec pipeline implementing the
ICodecPipeline interface. |
interface |
IEncoder<I,O>
A encoder that can be managed by a codec pipeline implementing the
ICodecPipeline interface. |
Modifier and Type | Class and Description |
---|---|
class |
CompoundDecoder<I,O>
A compound decoder that processes input data through a chain of the specified decoders.
|
class |
CompoundEncoder<I,O>
A compound encoder that processes input data through a chain of the specified encoders.
|
class |
EventDrivenCompoundDecoder<I,O>
An event driven compound decoder that processes input data through a chain of
the specified decoders.
|
class |
EventDrivenCompoundEncoder<I,O>
An event driven compound encoder that processes input data through a chain of
the specified encoders.
|
Modifier and Type | Method and Description |
---|---|
ICodec<?,?> |
ICodecPipeline.get(Object key)
Returns the codec identified by the specified key in this pipeline.
|
ICodec<?,?> |
ICodecPipeline.remove(Object key)
Removes the codec identified by the specified key from this pipeline.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayToBufferCodec
A base
class for encoders and decoders transforming an array of
bytes into a ByteBuffer . |
class |
ArrayToBufferDecoder
A decoder transforming an array of bytes into a
ByteBuffer . |
class |
ArrayToBufferEncoder
An encoder transforming an array of bytes into a
ByteBuffer . |
class |
ArrayToBufferHolderCodec
A base
class for encoders and decoders transforming an array of
bytes into an IByteBufferHolder . |
class |
ArrayToBufferHolderDecoder
A decoder transforming an array of bytes into a
IByteBufferHolder . |
class |
ArrayToBufferHolderEncoder
An encoder transforming an array of bytes into an
IByteBufferHolder . |
class |
BufferHolderToArrayCodec
A base
class for encoders and decoders transforming an IByteBufferHolder
into an array of bytes. |
class |
BufferHolderToArrayDecoder
A decoder transforming an
IByteBufferHolder into an array of bytes. |
class |
BufferHolderToArrayEncoder
A encoder transforming an
IByteBufferHolder into an array of bytes. |
class |
BufferHolderToBufferCodec
|
class |
BufferHolderToBufferDecoder
A decoder transforming an
IByteBufferHolder into a ByteBuffer . |
class |
BufferHolderToBufferEncoder
A encoder transforming an
IByteBufferHolder into a ByteBuffer . |
class |
BufferToArrayCodec
A base
class for encoders and decoders transforming a ByteBuffer
into an array of bytes. |
class |
BufferToArrayDecoder
A decoder transforming a
ByteBuffer into an array of bytes. |
class |
BufferToArrayEncoder
An encoder transforming a
ByteBuffer into an array of bytes. |
class |
BufferToBufferHolderCodec
|
class |
BufferToBufferHolderDecoder
A decoder transforming a
ByteBuffer into an IByteBufferHolder . |
class |
BufferToBufferHolderEncoder
A encoder transforming a
ByteBuffer into an IByteBufferHolder . |
Modifier and Type | Class and Description |
---|---|
class |
GzipDecoder
|
class |
GzipEncoder
|
class |
ZlibCodec
The base
class for compressors and decompressors transforming an
array of bytes in the zlib
compression format into a ByteBuffer . |
class |
ZlibDecoder
Decompresses an array of bytes using the
zlib compression.
|
class |
ZlibEncoder
Compresses an array of bytes using the
zlib compression.
|
Modifier and Type | Class and Description |
---|---|
class |
PacketDecoder |
class |
PacketEncoder |
Modifier and Type | Class and Description |
---|---|
class |
Decoder |
class |
Encoder |
Modifier and Type | Class and Description |
---|---|
class |
Aggregator |
Modifier and Type | Class and Description |
---|---|
class |
IndexPageDecoder |
Modifier and Type | Class and Description |
---|---|
class |
PerMessageDeflateDecoder
The per-message implementation of deflate decoder (decompressor).
|
class |
PerMessageDeflateEncoder
The per-message implementation of deflate encoder (compressor).
|
Modifier and Type | Class and Description |
---|---|
class |
FrameAggregator
Aggregates fragmented Web Socket frames into complete (final) frames.
|
class |
FrameDecoder
Decodes a Web Socket frame from bytes in the protocol version 13 format.
|
class |
FrameEncoder
Encodes a Web Socket frame into bytes in the protocol version 13 format.
|
class |
FrameUtf8Validator
Validates the UTF-8 encoding correctness of the payload data in Web Socket
text frames and in Web Socket continuation frames being theirs continuation.
|
Modifier and Type | Class and Description |
---|---|
class |
HandshakeDecoder
Decodes a Web Socket handshake frame from bytes in the protocol version 13 format.
|
class |
HandshakeEncoder
Encodes a Web Socket handshake frame into bytes in the protocol version 13 format.
|
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.