- ABNORMAL - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Reserved (value 1006) and MUST NOT be set as a status code in a Close control
frame by an endpoint.
- abort(Throwable) - Method in interface org.snf4j.core.future.IAbortableFuture
-
Aborts this future and notifies all threads waiting for this future to be
completed.
- abort(Throwable) - Method in class org.snf4j.core.future.SessionFuturesController
-
Notifies this controller about aborting registration.
- abort(Throwable) - Method in class org.snf4j.core.future.TaskFuture
-
Aborts this future and notifies all threads waiting for this future to be
completed.
- AbstractDatagramHandler - Class in org.snf4j.core.handler
-
- AbstractDatagramHandler() - Constructor for class org.snf4j.core.handler.AbstractDatagramHandler
-
Default constructor creating an unnamed datagram-oriented handler.
- AbstractDatagramHandler(ISessionConfig) - Constructor for class org.snf4j.core.handler.AbstractDatagramHandler
-
Constructor creating an unnamed datagram-oriented handler with given session
configuration object.
- AbstractDatagramHandler(String) - Constructor for class org.snf4j.core.handler.AbstractDatagramHandler
-
Constructor creating a named datagram-oriented handler.
- AbstractDatagramHandler(String, ISessionConfig) - Constructor for class org.snf4j.core.handler.AbstractDatagramHandler
-
Constructor creating a named datagram-oriented handler with given session
configuration object.
- AbstractEngine - Class in org.snf4j.example.engine
-
- AbstractEngine() - Constructor for class org.snf4j.example.engine.AbstractEngine
-
- AbstractEngine.CloseType - Enum in org.snf4j.example.engine
-
- AbstractFileHandler - Class in org.snf4j.example.file
-
- AbstractFuture<V> - Class in org.snf4j.core.future
-
Base implementation of the
IFuture
interface.
- AbstractFuture(ISession) - Constructor for class org.snf4j.core.future.AbstractFuture
-
Constructs a base implementation with the specified session.
- AbstractHandler - Class in org.snf4j.core.handler
-
Base implementation of the
IHandler
interface.
- AbstractHandler() - Constructor for class org.snf4j.core.handler.AbstractHandler
-
Default constructor creating an unnamed handler.
- AbstractHandler(ISessionConfig) - Constructor for class org.snf4j.core.handler.AbstractHandler
-
Default constructor creating an unnamed handler with given session
configuration object.
- AbstractHandler(String) - Constructor for class org.snf4j.core.handler.AbstractHandler
-
Constructor creating a named handler.
- AbstractHandler(String, ISessionConfig) - Constructor for class org.snf4j.core.handler.AbstractHandler
-
Constructor creating a named handler with given session configuration object.
- AbstractProxyHandler - Class in org.snf4j.core.proxy
-
Base implementation for handlers processing client connections via proxy
protocols.
- AbstractProxyHandler(ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.AbstractProxyHandler
-
Constructs a proxy connection handler with the default (10 seconds)
connection timeout, configuration and factory.
- AbstractSctpHandler - Class in org.snf4j.core.handler
-
- AbstractSctpHandler() - Constructor for class org.snf4j.core.handler.AbstractSctpHandler
-
Default constructor creating an unnamed SCTP handler.
- AbstractSctpHandler(String) - Constructor for class org.snf4j.core.handler.AbstractSctpHandler
-
Constructor creating a named SCTP handler.
- AbstractSctpSessionFactory - Class in org.snf4j.core.factory
-
- AbstractSctpSessionFactory() - Constructor for class org.snf4j.core.factory.AbstractSctpSessionFactory
-
Constructs a factory that creates the basic SCTP sessions.
- AbstractSession - Class in org.snf4j.core.session
-
Base implementation of the
ISession
interface.
- AbstractSession(String, long, String, ConcurrentMap<Object, Object>) - Constructor for class org.snf4j.core.session.AbstractSession
-
Constructs the base implementation of the
ISession
interface.
- AbstractSessionFactory - Class in org.snf4j.core.factory
-
- AbstractSessionFactory() - Constructor for class org.snf4j.core.factory.AbstractSessionFactory
-
Constructs a factory that creates the basic stream-oriented sessions.
- AbstractSessionFactory(boolean) - Constructor for class org.snf4j.core.factory.AbstractSessionFactory
-
Constructs a factory that creates sessions of the given type (basic or
SSL/TLS).
- AbstractSessionTimer - Class in org.snf4j.core
-
- AbstractSessionTimer(StreamSession) - Constructor for class org.snf4j.core.AbstractSessionTimer
-
Constructs a session timer that can be associated with stream-oriented
sessions.
- AbstractSessionTimer(DatagramSession) - Constructor for class org.snf4j.core.AbstractSessionTimer
-
Constructs a session timer that can be associated with datagram-oriented
sessions.
- AbstractSocksProxyHandler - Class in org.snf4j.core.proxy
-
Base implementation for handlers processing client connections via SOCKS
proxy protocols.
- AbstractSocksProxyHandler(InetSocketAddress, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
Constructs a SOCKS proxy connection handler with the specified destination
address, the default (10 seconds) connection timeout, configuration and factory.
- AbstractStreamHandler - Class in org.snf4j.core.handler
-
- AbstractStreamHandler() - Constructor for class org.snf4j.core.handler.AbstractStreamHandler
-
Default constructor creating an unnamed stream-oriented handler.
- AbstractStreamHandler(ISessionConfig) - Constructor for class org.snf4j.core.handler.AbstractStreamHandler
-
Constructor creating an unnamed stream-oriented handler with given session
configuration object.
- AbstractStreamHandler(String) - Constructor for class org.snf4j.core.handler.AbstractStreamHandler
-
Constructor creating a named stream-oriented handler.
- AbstractStreamHandler(String, ISessionConfig) - Constructor for class org.snf4j.core.handler.AbstractStreamHandler
-
Constructor creating a named stream-oriented handler with given session
configuration object.
- AbstractWebSocketHandler - Class in org.snf4j.websocket
-
- AbstractWebSocketHandler() - Constructor for class org.snf4j.websocket.AbstractWebSocketHandler
-
Constructs an unnamed Web Socket handler for server sessions with the default
configuration.
- AbstractWebSocketHandler(URI) - Constructor for class org.snf4j.websocket.AbstractWebSocketHandler
-
Constructs an unnamed Web Socket handler for client sessions with the default
configuration.
- AbstractWebSocketHandler(String) - Constructor for class org.snf4j.websocket.AbstractWebSocketHandler
-
Constructs a named Web Socket handler for server sessions with the default
configuration.
- AbstractWebSocketHandler(String, URI) - Constructor for class org.snf4j.websocket.AbstractWebSocketHandler
-
Constructs a named Web Socket handler for client sessions with the default
configuration.
- AbstractWebSocketHandler(IWebSocketSessionConfig) - Constructor for class org.snf4j.websocket.AbstractWebSocketHandler
-
Constructs an unnamed Web Socket handler with the specified configuration.
- AbstractWebSocketHandler(String, IWebSocketSessionConfig) - Constructor for class org.snf4j.websocket.AbstractWebSocketHandler
-
Constructs a named Web Socket handler with the specified configuration.
- AbstractWebSocketSessionFactory - Class in org.snf4j.websocket
-
- AbstractWebSocketSessionFactory() - Constructor for class org.snf4j.websocket.AbstractWebSocketSessionFactory
-
Constructs a factory that creates the basic Web Socket sessions.
- AbstractWebSocketSessionFactory(boolean) - Constructor for class org.snf4j.websocket.AbstractWebSocketSessionFactory
-
Constructs a factory that creates Web Socket sessions of the given type
(basic or SSL/TLS).
- acceptOffer(List<String>) - Method in class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
- acceptOffer(List<String>) - Method in interface org.snf4j.websocket.extensions.IExtension
-
Called by the Web Socket server to accept the received extension negotiation
offer.
- acceptRequestUri(URI) - Method in class org.snf4j.example.websocket.SessionConfig
-
- acceptRequestUri(URI) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Determines if a received Web Socket handshake request with given request URI
should be accepted by the server session associated with this configuration
object.
- acceptRequestUri(URI) - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines if a received Web Socket handshake request with given request URI
should be accepted by the server session associated with this configuration
object.
- add(ByteBuffer) - Method in class org.snf4j.core.ByteBufferHolder
-
- add(int, ByteBuffer) - Method in class org.snf4j.core.ByteBufferHolder
-
- add(Object, IDecoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Appends a decoder at the last position of this pipeline.
- add(Object, IEncoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Appends a encoder at the last position of this pipeline.
- add(Object, T) - Method in interface org.snf4j.core.session.ISessionPipeline
-
Appends a session at the last position of this pipeline.
- addAfter(Object, Object, IDecoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Inserts a decoder after an existing decoder of this pipeline.
- addAfter(Object, Object, IEncoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Inserts a encoder after an existing decoder of this pipeline.
- addAfter(Object, Object, T) - Method in interface org.snf4j.core.session.ISessionPipeline
-
Inserts a session after an existing session of this pipeline.
- addAll(Collection<? extends ByteBuffer>) - Method in class org.snf4j.core.ByteBufferHolder
-
- addAll(int, Collection<? extends ByteBuffer>) - Method in class org.snf4j.core.ByteBufferHolder
-
- addBefore(Object, Object, IDecoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Inserts a decoder before an existing decoder of this pipeline.
- addBefore(Object, Object, IEncoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Inserts a encoder before an existing encoder of this pipeline.
- addBefore(Object, Object, T) - Method in interface org.snf4j.core.session.ISessionPipeline
-
Inserts a session before an existing session of this pipeline.
- addChild(ISession, ICodecExecutor) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- addChild(ISession, ICodecExecutor) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Adds a child codec executor that will be receiving session events
received by this codec executor.
- added(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.EventDrivenCompoundDecoder
-
- added(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.EventDrivenCompoundEncoder
-
- added(ISession, ICodecPipeline) - Method in interface org.snf4j.core.codec.IEventDrivenCodec
-
Signals that the codec has been added to the pipeline associated with a
session.
- added(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Does nothing.
- added(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Does nothing.
- added(ISession, ICodecPipeline) - Method in class org.snf4j.websocket.handshake.HandshakeEncoder
-
- addFirst(Object, IDecoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Inserts a decoder at the first position of this pipeline.
- addFirst(Object, IEncoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Inserts a encoder at the first position of this pipeline.
- addFirst(Object, T) - Method in interface org.snf4j.core.session.ISessionPipeline
-
Inserts a session at the first position of this pipeline.
- addFragment(byte[]) - Method in class org.snf4j.websocket.frame.AggregatedBinaryFrame
-
- addFragment(byte[]) - Method in class org.snf4j.websocket.frame.AggregatedTextFrame
-
Adds a new payload data fragment for future aggregation.
- addFragment(byte[]) - Method in interface org.snf4j.websocket.frame.IAggregatedFrame
-
Adds a new payload data fragment for future aggregation.
- addReplyListener(ISocksReplyListener) - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
Adds a listener for replies sent from the SOCKS server
- addSSLEngineBuilder(SSLEngineBuilder) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Adds a SSLEngine builder that will be used to create the SSLengine for
sessions associated with this configuration object.
- addValue(String, String) - Method in class org.snf4j.websocket.handshake.HandshakeFrame
-
Adds a value of the header field identified by the specified name.
- AggregatedBinaryFrame - Class in org.snf4j.websocket.frame
-
Aggregated Web Socket binary frame.
- AggregatedBinaryFrame(boolean, int, byte[]) - Constructor for class org.snf4j.websocket.frame.AggregatedBinaryFrame
-
Constructs an aggregated Web Socket binary frame.
- AggregatedTextFrame - Class in org.snf4j.websocket.frame
-
Aggregated Web Socket text frame.
- AggregatedTextFrame(boolean, int, byte[]) - Constructor for class org.snf4j.websocket.frame.AggregatedTextFrame
-
Constructs an aggregated Web Socket text frame.
- Aggregator - Class in org.snf4j.example.sctp
-
- allocate(int, boolean) - Method in class org.snf4j.core.allocator.CachingAllocator
-
- allocate(int, ByteBuffer) - Method in class org.snf4j.core.allocator.CachingAllocator
-
- allocate(int, boolean) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Allocates a new buffer with given capacity and type
- allocate(int, ByteBuffer) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Allocates a new buffer that will replace the original not empty buffer.
- allocate(int) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
- allocate(int) - Method in interface org.snf4j.core.allocator.IByteBufferAllocator
-
Allocates a new byte buffer.
- allocate(int) - Method in interface org.snf4j.core.session.ISession
-
Allocates a byte buffer by using the allocator associated with this session.
- allocated(int) - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- allocated(int) - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when a true allocation (not taken from a cache or a pool) was
performed by the associated allocator.
- allocated(int) - Method in class org.snf4j.example.file.AllocatorMetric
-
- allocateEmpty(int, ByteBuffer) - Method in class org.snf4j.core.allocator.CachingAllocator
-
- allocateEmpty(int, ByteBuffer) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Allocates a new buffer that will replace the original empty buffer.
- allocating(int) - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- allocating(int) - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when an allocation was performed by the associated allocator.
- ALLOCATOR_CACHE_AGE_THRESHOLD_PROPERTY - Static variable in class org.snf4j.core.Constants
-
System property specifying the cache age threshold after reaching which the
cache should be considered by the
CachingAllocator
for the
size reduction.
- ALLOCATOR_MAX_CACHE_SIZE_PROPERTY - Static variable in class org.snf4j.core.Constants
-
System property specifying the maximum size of the caches used by the
CachingAllocator
.
- ALLOCATOR_MIN_CACHE_SIZE_PROPERTY - Static variable in class org.snf4j.core.Constants
-
System property specifying the minimum size for the caches used by the
CachingAllocator
.
- ALLOCATOR_NUM_OF_CACHES_PROPERTY - Static variable in class org.snf4j.core.Constants
-
- AllocatorMetric - Class in org.snf4j.example.file
-
- AllocatorMetric() - Constructor for class org.snf4j.example.file.AllocatorMetric
-
- allowBothTerminators(boolean) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
Configures the handling of line terminators in responses from a HTTP proxy
server
- alwaysNotifiedBeingInPipeline() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Determines if the session being associated with the session pipeline should
be notified in a situation when the connection is closed and the processing
of the session was not initiated yet.
- alwaysNotifiedBeingInPipeline() - Method in interface org.snf4j.core.session.ISessionConfig
-
Determines if the session being associated with the session pipeline should
be notified in a situation when the connection is closed and the processing
of the session was not initiated yet.
- appendHeader(String, String) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
Appends an HTTP header to the HTTP CONNECT method request being sent to an
HTTP proxy server.
- ArrayToBufferCodec - Class in org.snf4j.core.codec.bytes
-
A base
class
for encoders and decoders transforming an array of
bytes into a
ByteBuffer
.
- ArrayToBufferCodec() - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferCodec
-
- ArrayToBufferDecoder - Class in org.snf4j.core.codec.bytes
-
A decoder transforming an array of bytes into a
ByteBuffer
.
- ArrayToBufferDecoder(boolean) - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferDecoder
-
Constructs a decoder with a specified allocation mode.
- ArrayToBufferDecoder() - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferDecoder
-
Constructs a decoder with no buffer allocation (only by wrapping the input array)
- ArrayToBufferEncoder - Class in org.snf4j.core.codec.bytes
-
An encoder transforming an array of bytes into a
ByteBuffer
.
- ArrayToBufferEncoder(boolean) - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferEncoder
-
Constructs an encoder with a specified allocation mode.
- ArrayToBufferEncoder() - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferEncoder
-
Constructs an encoder with no buffer allocation (only by wrapping the input array)
- ArrayToBufferHolderCodec - Class in org.snf4j.core.codec.bytes
-
A base
class
for encoders and decoders transforming an array of
bytes into an
IByteBufferHolder
.
- ArrayToBufferHolderCodec() - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferHolderCodec
-
- ArrayToBufferHolderDecoder - Class in org.snf4j.core.codec.bytes
-
- ArrayToBufferHolderDecoder(boolean) - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferHolderDecoder
-
Constructs a decoder with a specified allocation mode.
- ArrayToBufferHolderDecoder() - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferHolderDecoder
-
Constructs a decoder with no buffer allocation (only by wrapping the input array)
- ArrayToBufferHolderEncoder - Class in org.snf4j.core.codec.bytes
-
- ArrayToBufferHolderEncoder(boolean) - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferHolderEncoder
-
Constructs an encoder with a specified allocation mode.
- ArrayToBufferHolderEncoder() - Constructor for class org.snf4j.core.codec.bytes.ArrayToBufferHolderEncoder
-
Constructs a encoder with no buffer allocation (only by wrapping the input array)
- available(ISession, ByteBuffer, boolean) - Method in interface org.snf4j.core.codec.IBaseDecoder
-
- available(ISession, byte[], int, int) - Method in interface org.snf4j.core.codec.IBaseDecoder
-
- available(ByteBuffer, boolean) - Method in class org.snf4j.core.handler.AbstractStreamHandler
-
Determines how many bytes can be read from the input buffer after
receiving new data from the remote end.
- available(byte[], int, int) - Method in class org.snf4j.core.handler.AbstractStreamHandler
-
Determines how many bytes can be read from the input buffer after
receiving new data from the remote end.
- available(ByteBuffer, boolean) - Method in interface org.snf4j.core.IStreamReader
-
Determines how many bytes can be read from the input buffer after
receiving new data from the remote end.
- available(byte[], int, int) - Method in interface org.snf4j.core.IStreamReader
-
Determines how many bytes can be read from the input buffer after
receiving new data from the remote end.
- available(ByteBuffer, boolean) - Method in class org.snf4j.core.proxy.AbstractProxyHandler
-
- available(ByteBuffer, boolean) - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
- available(byte[], int, int) - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
- available(byte[], int, int) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
- available(ISession, ByteBuffer, boolean) - Method in class org.snf4j.example.websocket.IndexPageDecoder
-
- available(ISession, byte[], int, int) - Method in class org.snf4j.example.websocket.IndexPageDecoder
-
- available(ISession, ByteBuffer, boolean) - Method in class org.snf4j.websocket.frame.FrameDecoder
-
- available(ISession, byte[], int, int) - Method in class org.snf4j.websocket.frame.FrameDecoder
-
- available(ISession, ByteBuffer, boolean) - Method in class org.snf4j.websocket.handshake.HandshakeDecoder
-
- available(ISession, byte[], int, int) - Method in class org.snf4j.websocket.handshake.HandshakeDecoder
-
- await() - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- await(long) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- await(long, TimeUnit) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- await() - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed.
- await(long) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit.
- await(long, TimeUnit) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit.
- awaitUninterruptibly() - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- awaitUninterruptibly(long) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- awaitUninterruptibly(long, TimeUnit) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- awaitUninterruptibly() - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed without interruption.
- awaitUninterruptibly(long) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit
without interruption.
- awaitUninterruptibly(long, TimeUnit) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit
without interruption.
- CachingAllocator - Class in org.snf4j.core.allocator
-
- CachingAllocator(boolean, IDefaultAllocatorMetricCollector) - Constructor for class org.snf4j.core.allocator.CachingAllocator
-
Constructs a caching allocator with default minimal capacity (128) and specified
metric data collector.
- CachingAllocator(boolean) - Constructor for class org.snf4j.core.allocator.CachingAllocator
-
Constructs a caching allocator with default minimal capacity (128).
- CachingAllocator(boolean, int, IDefaultAllocatorMetricCollector) - Constructor for class org.snf4j.core.allocator.CachingAllocator
-
Constructs a caching allocator with specified metric data collector.
- CachingAllocator(boolean, int) - Constructor for class org.snf4j.core.allocator.CachingAllocator
-
Constructs a caching allocator.
- calculateMaxData(int) - Static method in class org.snf4j.example.engine.Packet
-
- cancel(boolean) - Method in class org.snf4j.core.future.CompletedFuture
-
Does nothing.
- cancel() - Method in class org.snf4j.core.timer.DefaultTimer
-
Terminates this timer, discarding any currently scheduled tasks.
- CancelledFuture<V> - Class in org.snf4j.core.future
-
A cancelled future
- CancelledFuture(ISession) - Constructor for class org.snf4j.core.future.CancelledFuture
-
Constructs a cancelled future.
- cancelTask() - Method in interface org.snf4j.core.timer.ITimerTask
-
Cancels the associated scheduled operation.
- cause() - Method in class org.snf4j.core.future.CompletedFuture
-
Returns null
- cause() - Method in class org.snf4j.core.future.FailedFuture
-
Returns the cause of the failure
- cause() - Method in interface org.snf4j.core.future.IFuture
-
Returns the cause of the failed I/O operation.
- ChatClient - Class in org.snf4j.example.chat
-
- ChatClient() - Constructor for class org.snf4j.example.chat.ChatClient
-
- ChatClientHandler - Class in org.snf4j.example.chat
-
- ChatClientHandler() - Constructor for class org.snf4j.example.chat.ChatClientHandler
-
- ChatServer - Class in org.snf4j.example.chat
-
- ChatServer() - Constructor for class org.snf4j.example.chat.ChatServer
-
- ChatServerHandler - Class in org.snf4j.example.chat
-
- ChatServerHandler() - Constructor for class org.snf4j.example.chat.ChatServerHandler
-
- CHECKSUM_SIZE - Static variable in class org.snf4j.example.engine.Packet
-
- CipherFilter - Interface in org.snf4j.core.session.ssl
-
A filter providing means for selecting ciphers enabled for use on the
SSLEngine
based upon the requested, recommended and supported
ciphers.
- cipherFilter(CipherFilter) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures a filter for cipher suites to enable, or null
to use
the default filter.
- cipherFilter(CipherFilter) - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Configures a filter for cipher suites to enable, or null
to use
the default filter.
- ciphers(String...) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures cipher suites to enable, or null
to enable the
recommended cipher suites.
- ciphers(String...) - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Configures cipher suites to enable, or null
to enable the
recommended cipher suites.
- cleanup() - Method in interface org.snf4j.core.engine.IEngine
-
Signals that an
IEngine
implementation can cleanup, if
required, its internal state (e.g.
- cleanup() - Method in class org.snf4j.example.engine.AbstractEngine
-
- clear() - Method in class org.snf4j.core.ByteBufferHolder
-
- ClientAuth - Enum in org.snf4j.core.session.ssl
-
An enum that defines modes of the
SSLEngine
's client authentications.
- clientAuth(ClientAuth) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures the client authentication mode for a server-side
SSLEngine
.
- clientAuth(ClientAuth) - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Configures the client authentication mode for a server-side
SSLEngine
.
- clone() - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Generates a new copy of this builder.
- close() - Method in class org.snf4j.core.DatagramSession
-
- close() - Method in class org.snf4j.core.EngineDatagramSession
-
- close() - Method in class org.snf4j.core.EngineStreamSession
-
- close() - Method in interface org.snf4j.core.session.ISession
-
Gently closes this session after all pending data waiting for writing are fully flushed.
- close() - Method in interface org.snf4j.core.session.ISessionPipeline
-
Marks this pipeline for closing and gently closes the currently processed
session in the pipeline.
- close() - Method in class org.snf4j.core.StreamSession
-
- close(int) - Method in interface org.snf4j.websocket.IWebSocketSession
-
Writes the Web Socket close frame with given status code and then gently
closes this session.
- close(int, String) - Method in interface org.snf4j.websocket.IWebSocketSession
-
Writes the Web Socket close frame with given status code and reason and then
gently closes this session.
- close(int) - Method in class org.snf4j.websocket.SSLWebSocketSession
-
- close(int, String) - Method in class org.snf4j.websocket.SSLWebSocketSession
-
- close(int) - Method in class org.snf4j.websocket.WebSocketSession
-
- close(int, String) - Method in class org.snf4j.websocket.WebSocketSession
-
- CloseableEngine - Class in org.snf4j.example.engine
-
- CloseableEngine(int) - Constructor for class org.snf4j.example.engine.CloseableEngine
-
- closed(SctpServerChannel) - Method in class org.snf4j.core.factory.AbstractSctpSessionFactory
-
- closed(ServerSocketChannel) - Method in class org.snf4j.core.factory.AbstractSessionFactory
-
- closed(SctpServerChannel) - Method in interface org.snf4j.core.factory.ISctpSessionFactory
-
Notifies about closing and unregistering of a listening channel.
- closed(ServerSocketChannel) - Method in interface org.snf4j.core.factory.IStreamSessionFactory
-
Notifies about closing and unregistering of a listening channel.
- closed(ServerSocketChannel) - Method in class org.snf4j.websocket.AbstractWebSocketSessionFactory
-
- CloseFrame - Class in org.snf4j.websocket.frame
-
Web Socket connection close frame.
- CloseFrame(int, byte[]) - Constructor for class org.snf4j.websocket.frame.CloseFrame
-
Constructs a Web Socket connection close frame.
- CloseFrame(byte[]) - Constructor for class org.snf4j.websocket.frame.CloseFrame
-
Constructs a Web Socket connection close frame with all reserved bits cleared.
- CloseFrame() - Constructor for class org.snf4j.websocket.frame.CloseFrame
-
Constructs an empty Web Socket connection close frame with all reserved bits
cleared.
- CloseFrame(int, int) - Constructor for class org.snf4j.websocket.frame.CloseFrame
-
Constructs a Web Socket connection close frame with the specified status
code.
- CloseFrame(int) - Constructor for class org.snf4j.websocket.frame.CloseFrame
-
Constructs a Web Socket connection close frame with the specified status code
and with all reserved bits cleared.
- CloseFrame(int, int, String) - Constructor for class org.snf4j.websocket.frame.CloseFrame
-
Constructs a Web Socket connection close frame with the specified status code
and reason text.
- CloseFrame(int, String) - Constructor for class org.snf4j.websocket.frame.CloseFrame
-
Constructs a Web Socket connection close frame with the specified status code,
reason text and with all reserved bit cleared.
- closeInbound() - Method in interface org.snf4j.core.engine.IEngine
-
Signals that no more inbound network data will be sent to an
IEngine
implementation.
- closeInbound() - Method in class org.snf4j.example.engine.AbstractEngine
-
- closeInbound() - Method in class org.snf4j.example.engine.CloseableEngine
-
- closeOutbound() - Method in interface org.snf4j.core.engine.IEngine
-
Signals that no more outbound application data will be sent to an
IEngine
implementation.
- closeOutbound() - Method in class org.snf4j.example.engine.AbstractEngine
-
- closeUnwrap(ByteBuffer) - Method in class org.snf4j.example.engine.BasicEngine
-
- closeWrap(ByteBuffer) - Method in class org.snf4j.example.engine.BasicEngine
-
- closeWrap(ByteBuffer) - Method in class org.snf4j.example.engine.CloseableEngine
-
- CompletedFuture<V> - Class in org.snf4j.core.future
-
A completed future.
- CompletedFuture(ISession, FutureState) - Constructor for class org.snf4j.core.future.CompletedFuture
-
Constructs a completed future with the specified session.
- CompoundDecoder<I,O> - Class in org.snf4j.core.codec
-
A compound decoder that processes input data through a chain of the specified decoders.
- CompoundDecoder(IDecoder<?, ?>...) - Constructor for class org.snf4j.core.codec.CompoundDecoder
-
Constructs a compound decoder with a chain of the specified decoders.
- CompoundEncoder<I,O> - Class in org.snf4j.core.codec
-
A compound encoder that processes input data through a chain of the specified encoders.
- CompoundEncoder(IEncoder<?, ?>...) - Constructor for class org.snf4j.core.codec.CompoundEncoder
-
Constructs a compound encoder with a chain of the specified encoders.
- config - Variable in class org.snf4j.example.file.AbstractFileHandler
-
- connectionTimeout(long) - Method in class org.snf4j.core.proxy.AbstractProxyHandler
-
Configures the proxy connection timeout.
- connectionTimeout(long) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
Configures the proxy connection timeout.
- connectionTimeout(long) - Method in class org.snf4j.core.proxy.Socks4ProxyHandler
-
Configures the proxy connection timeout.
- connectionTimeout(long) - Method in class org.snf4j.core.proxy.Socks5ProxyHandler
-
Configures the proxy connection timeout.
- Constants - Class in org.snf4j.core
-
Holder for constants globally used by the API.
- contains(Object) - Method in class org.snf4j.core.ByteBufferHolder
-
- containsAll(Collection<?>) - Method in class org.snf4j.core.ByteBufferHolder
-
- context() - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Returns the SSL context used by the builder to create
SSLEngine
- ContinuationFrame - Class in org.snf4j.websocket.frame
-
Web Socket continuation frame containing continuation text or binary data.
- ContinuationFrame(boolean, int, byte[]) - Constructor for class org.snf4j.websocket.frame.ContinuationFrame
-
Constructs a Web Socket continuation frame containing binary data.
- ContinuationFrame(byte[]) - Constructor for class org.snf4j.websocket.frame.ContinuationFrame
-
Constructs a Web Socket continuation frame containing binary data.
- ContinuationFrame() - Constructor for class org.snf4j.websocket.frame.ContinuationFrame
-
Constructs an empty Web Socket continuation frame.
- ContinuationFrame(boolean, int, String) - Constructor for class org.snf4j.websocket.frame.ContinuationFrame
-
Constructs a Web Socket continuation frame containing text data.
- ContinuationFrame(String) - Constructor for class org.snf4j.websocket.frame.ContinuationFrame
-
Constructs a Web Socket continuation frame containing text data.
- ControlFrame - Class in org.snf4j.websocket.frame
-
Base class for all Web Socket control frames.
- ControlFrame(Opcode, int, byte[]) - Constructor for class org.snf4j.websocket.frame.ControlFrame
-
Constructs a generic Web Socket control frame.
- ControlFrame(Opcode, byte[]) - Constructor for class org.snf4j.websocket.frame.ControlFrame
-
Constructs a generic Web Socket control frame with all reserved bits cleared.
- create(SctpChannel) - Method in class org.snf4j.core.factory.AbstractSctpSessionFactory
-
Creates an SCTP session for a newly accepted connection.
- create(SocketChannel) - Method in class org.snf4j.core.factory.AbstractSessionFactory
-
Creates a stream-oriented session for a newly accepted connection.
- create(SocketAddress) - Method in interface org.snf4j.core.factory.IDatagramHandlerFactory
-
Creates a datagram handler that will be associated with a
datagram-oriented session created by
DatagramServerHandler
after
receiving first data from a remote host.
- create(SctpChannel) - Method in interface org.snf4j.core.factory.ISctpSessionFactory
-
Creates an SCTP session for a newly accepted connection.
- create(SocketChannel) - Method in interface org.snf4j.core.factory.IStreamSessionFactory
-
Creates a stream-oriented session for a newly accepted connection.
- create(int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified stream number and
the peer primary address as the preferred peer address.
- create(SocketAddress, int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified stream number and
the preferred peer address.
- create(Association, int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified association, stream
number, and the peer primary address as the preferred peer address of the
association to send the message to.
- create(Association, SocketAddress, int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified association, stream
number and the preferred peer address of the association to send the message
to.
- create(int, int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified stream number,
payload protocol identifier and the peer primary address as the
preferred peer address.
- create(SocketAddress, int, int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified stream number,
payload protocol identifier and the preferred peer address.
- create(Association, int, int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified association, stream
number, payload protocol identifier and the peer primary address as the
preferred peer address of the association to send the message to.
- create(Association, SocketAddress, int, int) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified association, stream
number, payload protocol identifier and the preferred peer address of the
association to send the message to.
- create(int, int, boolean) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified stream number,
payload protocol identifier, unordered flag and the peer primary address as
the preferred peer address.
- create(SocketAddress, int, int, boolean) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified stream number,
payload protocol identifier, unordered flag and the preferred peer address.
- create(Association, int, int, boolean) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified association, stream
number, payload protocol identifier, unordered flag and the peer primary
address as the preferred peer address of the association to send the message
to.
- create(Association, SocketAddress, int, int, boolean) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
with specified association, stream
number, payload protocol identifier, unordered flag and the preferred peer
address of the association to send the message to.
- create(MessageInfo) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Creates an immutable MessageInfo
that is cloned from the specified
MessageInfo
instance.
- create(int, int, boolean) - Static method in class org.snf4j.example.engine.EngineFactory
-
- create(SocketChannel) - Method in class org.snf4j.websocket.AbstractWebSocketSessionFactory
-
Creates a Web Socket session for a newly accepted connection.
- createCodecExecutor(Object) - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Creates a new codec executor that should be used for decoding/encoding SCTP
messages that can be identified by the given identifier.
- createCodecExecutor() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Creates a new codec executor that will be responsible for decoding and
encoding data read/received and written/send in the associated session.
- createCodecExecutor(Object) - Method in interface org.snf4j.core.session.ISctpSessionConfig
-
Creates a new codec executor that should be used for decoding/encoding SCTP
messages that can be identified by the given identifier.
- createCodecExecutor() - Method in interface org.snf4j.core.session.ISessionConfig
-
Creates a new codec executor that will be responsible for decoding and
encoding data read/received and written/send in the associated session.
- createCodecExecutor() - Method in class org.snf4j.example.dtls.SessionConfig
-
- createCodecExecutor() - Method in class org.snf4j.example.echo.SessionConfig
-
- createCodecExecutor() - Method in class org.snf4j.example.heartbeat.SessionConfig
-
- createCodecExecutor() - Method in class org.snf4j.example.sctp.SessionConfig
-
- createCodecExecutor(Object) - Method in class org.snf4j.example.sctp.SessionConfig
-
- createCodecExecutor() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
- createEngine(SocketAddress, ISessionConfig) - Method in class org.snf4j.core.DatagramServerHandler
-
Determines if newly created session should be an engine-driver session.
- createEngine(SocketAddress, ISessionConfig) - Method in class org.snf4j.core.DTLSServerHandler
-
- createHandler(SctpChannel) - Method in class org.snf4j.core.factory.AbstractSctpSessionFactory
-
Creates an SCTP handler for a newly accepted connection.
- createHandler(SocketChannel) - Method in class org.snf4j.core.factory.AbstractSessionFactory
-
Creates a stream-oriented handler for a newly accepted connection.
- createHandler(SocketChannel) - Method in class org.snf4j.websocket.AbstractWebSocketSessionFactory
-
Creates a Web Socket handler for a newly accepted connection.
- createSSLEngine(boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Creates a new SSLEngine for the SSL/DTLS session.
- createSSLEngine(SocketAddress, boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Creates a new SSLEngine for the SSL/DTLS session with known remote peer.
- createSSLEngine(boolean) - Method in interface org.snf4j.core.session.ISessionConfig
-
Creates a new SSLEngine for the SSL/DTLS session.
- createSSLEngine(SocketAddress, boolean) - Method in interface org.snf4j.core.session.ISessionConfig
-
Creates a new SSLEngine for the SSL/DTLS session with known remote peer.
- createSSLEngine(boolean) - Method in class org.snf4j.example.dtls.SessionConfig
-
- createSSLEngine(boolean) - Method in class org.snf4j.example.websocket.SessionConfig
-
- customizeHeaders(HandshakeRequest) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Called when the Web Socket handshake request is ready to be sent and can be
now customized, if needed.
- customizeHeaders(HandshakeResponse) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Called when the Web Socket handshake response is ready to be sent and can be
now customized, if needed.
- customizeHeaders(HandshakeRequest) - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Called when the Web Socket handshake request is ready to be sent and can be
now customized, if needed.
- customizeHeaders(HandshakeResponse) - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Called when the Web Socket handshake response is ready to be sent and can be
now customized, if needed.
- DataEvent - Enum in org.snf4j.core.handler
-
An enum
that represents session events related with sending or receiving data.
- DataFrame - Class in org.snf4j.websocket.frame
-
Base class for all Web Socket data frames.
- DataFrame(Opcode, boolean, int, byte[]) - Constructor for class org.snf4j.websocket.frame.DataFrame
-
Constructs a generic Web Socket data frame.
- DataFrame(Opcode, byte[]) - Constructor for class org.snf4j.websocket.frame.DataFrame
-
Constructs a generic Web Socket data frame being the final fragment in a
message and with all reserved bits cleared.
- DatagramServerHandler - Class in org.snf4j.core
-
Datagram server handler providing functionality to handle multiple remote
hosts via a single datagram-orinted session.
- DatagramServerHandler(IDatagramHandlerFactory) - Constructor for class org.snf4j.core.DatagramServerHandler
-
- DatagramServerHandler(IDatagramHandlerFactory, ISessionConfig) - Constructor for class org.snf4j.core.DatagramServerHandler
-
- DatagramServerHandler(IDatagramHandlerFactory, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.DatagramServerHandler
-
Constructs a datagram server handler.
- DatagramSession - Class in org.snf4j.core
-
- DatagramSession(String, IDatagramHandler) - Constructor for class org.snf4j.core.DatagramSession
-
Constructs a named datagram-oriented session associated with a handler.
- DatagramSession(IDatagramHandler) - Constructor for class org.snf4j.core.DatagramSession
-
Constructs a datagram-oriented session associated with a handler.
- debug(ILogger, String, Object...) - Method in class org.snf4j.core.logger.DefaultExceptionLogger
-
- debug(ILogger, String, Object...) - Method in interface org.snf4j.core.logger.IExceptionLogger
-
Logs a message at the DEBUG level with varying number of arguments.
- debug(String) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the DEBUG level.
- debug(String, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the DEBUG level with one argument.
- debug(String, Object, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the DEBUG level with two arguments.
- debug(String, Object...) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the DEBUG level with three or more arguments.
- debug(String) - Method in class org.snf4j.core.logger.NopLogger
-
- debug(String, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- debug(String, Object, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- debug(String, Object...) - Method in class org.snf4j.core.logger.NopLogger
-
- decode(ISession, byte[], List<ByteBuffer>) - Method in class org.snf4j.core.codec.bytes.ArrayToBufferDecoder
-
- decode(ISession, byte[], List<IByteBufferHolder>) - Method in class org.snf4j.core.codec.bytes.ArrayToBufferHolderDecoder
-
- decode(ISession, IByteBufferHolder, List<byte[]>) - Method in class org.snf4j.core.codec.bytes.BufferHolderToArrayDecoder
-
- decode(ISession, IByteBufferHolder, List<ByteBuffer>) - Method in class org.snf4j.core.codec.bytes.BufferHolderToBufferDecoder
-
- decode(ISession, ByteBuffer, List<byte[]>) - Method in class org.snf4j.core.codec.bytes.BufferToArrayDecoder
-
- decode(ISession, ByteBuffer, List<IByteBufferHolder>) - Method in class org.snf4j.core.codec.bytes.BufferToBufferHolderDecoder
-
- decode(ISession, I, List<O>) - Method in class org.snf4j.core.codec.CompoundDecoder
-
Decodes data from one type to another one.
- decode(ISession, byte[]) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- decode(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- decode(ISession, byte[]) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Decodes bytes from a byte array.
- decode(ISession, ByteBuffer) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Decodes bytes from a byte buffer.
- decode(ISession, I, List<O>) - Method in interface org.snf4j.core.codec.IDecoder
-
Decodes data from one type to another one.
- decode(ISession, byte[], List<ByteBuffer>) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Decompresses the input data.
- decode(byte[]) - Static method in class org.snf4j.core.util.Base64Util
-
Decodes bytes from the specified byte array into a newly-allocated byte array
using the Base64 encoding scheme.
- decode(byte[], boolean) - Static method in class org.snf4j.core.util.Base64Util
-
Decodes bytes from the specified byte array into a newly-allocated byte array
using the Base64 encoding scheme with an option for the MIME format.
- decode(String, Charset) - Static method in class org.snf4j.core.util.Base64Util
-
Decodes a Base64 encoded String into a newly-allocated byte array using the
Base64 encoding scheme.
- decode(String, Charset, boolean) - Static method in class org.snf4j.core.util.Base64Util
-
Decodes a Base64 encoded String into a newly-allocated byte array using the
Base64 encoding scheme with an option for the MIME format.
- decode(byte[], int, int, boolean) - Static method in class org.snf4j.core.util.Base64Util
-
Decodes bytes from the specified byte array into a newly-allocated byte array
using the Base64 encoding scheme with an option for the MIME format.
- decode(ISession, byte[], List<Packet>) - Method in class org.snf4j.example.dtls.PacketDecoder
-
- decode(ISession, ByteBuffer, List<ByteBuffer>) - Method in class org.snf4j.example.echo.Decoder
-
- decode(int, ByteBuffer, int) - Static method in class org.snf4j.example.engine.Packet
-
- decode(ISession, byte[], List<Packet>) - Method in class org.snf4j.example.heartbeat.PacketDecoder
-
- decode(ISession, ByteBuffer, List<ByteBuffer>) - Method in class org.snf4j.example.sctp.Aggregator
-
- decode(ISession, ByteBuffer, List<ByteBuffer>) - Method in class org.snf4j.example.sctp.Decoder
-
- decode(ISession, byte[], List<byte[]>) - Method in class org.snf4j.example.websocket.IndexPageDecoder
-
- decode(ISession, Frame, List<Frame>) - Method in class org.snf4j.websocket.extensions.compress.PerMessageDeflateDecoder
-
- decode(ISession, Frame, List<Frame>) - Method in class org.snf4j.websocket.frame.FrameAggregator
-
- decode(ISession, ByteBuffer, List<Frame>) - Method in class org.snf4j.websocket.frame.FrameDecoder
-
- decode(ISession, Frame, List<Frame>) - Method in class org.snf4j.websocket.frame.FrameUtf8Validator
-
- decode(ISession, byte[], List<HandshakeFrame>) - Method in class org.snf4j.websocket.handshake.HandshakeDecoder
-
- Decoder - Class in org.snf4j.example.echo
-
- Decoder() - Constructor for class org.snf4j.example.echo.Decoder
-
- Decoder - Class in org.snf4j.example.sctp
-
- Decoder() - Constructor for class org.snf4j.example.sctp.Decoder
-
- decoderKeys() - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Returns a list of keys that identify all decoders in this pipeline.
- decodeSize(int, ByteBuffer) - Static method in class org.snf4j.example.engine.Packet
-
- DecompressionException - Exception in org.snf4j.core.codec.zip
-
Signals that an exception has occurred during decompression of input data.
- DecompressionException() - Constructor for exception org.snf4j.core.codec.zip.DecompressionException
-
Constructs a new exception without the detail message.
- DecompressionException(String) - Constructor for exception org.snf4j.core.codec.zip.DecompressionException
-
Constructs a new exception with the specified detail message.
- DecompressionException(String, Throwable) - Constructor for exception org.snf4j.core.codec.zip.DecompressionException
-
Constructs a new exception with the specified detail message and cause.
- DecompressionException(Throwable) - Constructor for exception org.snf4j.core.codec.zip.DecompressionException
-
Constructs a new exception with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- DEFAULT - Static variable in class org.snf4j.core.allocator.DefaultAllocator
-
A constant holding the default non-direct buffer allocator.
- DEFAULT - Static variable in class org.snf4j.core.DefaultExecutor
-
A constant holding the default executor.
- DEFAULT - Static variable in class org.snf4j.core.DefaultSelectorLoopController
-
Default controller that permits all controlled operations.
- DEFAULT - Static variable in class org.snf4j.core.factory.DefaultSelectorLoopStructureFactory
-
Default selector loop's structure factory.
- DEFAULT - Static variable in class org.snf4j.core.factory.DefaultSessionStructureFactory
-
Default session's structure factory.
- DEFAULT - Static variable in class org.snf4j.core.factory.DefaultThreadFactory
-
A constant holding the default thread factory.
- DEFAULT_CODEC_EXECUTOR_IDENTIFIER - Static variable in interface org.snf4j.core.session.ISctpSessionConfig
-
The identifier of the default codec executor.
- DefaultAllocator - Class in org.snf4j.core.allocator
-
- DefaultAllocator(boolean) - Constructor for class org.snf4j.core.allocator.DefaultAllocator
-
Constructs a default allocator.
- DefaultAllocator(boolean, IDefaultAllocatorMetricCollector) - Constructor for class org.snf4j.core.allocator.DefaultAllocator
-
Constructs a default allocator with specified metric data collector.
- DefaultAllocatorMetric - Class in org.snf4j.core.allocator
-
- DefaultAllocatorMetric() - Constructor for class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- DefaultCipherProtocolFilters - Class in org.snf4j.core.session.ssl
-
Default set of cipher and protocol filters that do not do any filtering.
- DefaultCodecExecutor - Class in org.snf4j.core.codec
-
- DefaultCodecExecutor() - Constructor for class org.snf4j.core.codec.DefaultCodecExecutor
-
- DefaultExceptionLogger - Class in org.snf4j.core.logger
-
- DefaultExceptionLogger() - Constructor for class org.snf4j.core.logger.DefaultExceptionLogger
-
Constructs the exception logger.
- DefaultExecutor - Class in org.snf4j.core
-
Default implementation of the
Executor
interface that is
used by the API.
- defaultMessage() - Method in enum org.snf4j.core.handler.SessionIncident
-
- DefaultSctpSessionConfig - Class in org.snf4j.core.session
-
Default configuration for the SCTP session.
- DefaultSctpSessionConfig() - Constructor for class org.snf4j.core.session.DefaultSctpSessionConfig
-
- DefaultSelectorLoopController - Class in org.snf4j.core
-
Default controller that determines behavior of the associated selector loop.
- DefaultSelectorLoopController() - Constructor for class org.snf4j.core.DefaultSelectorLoopController
-
Constructs the default controller.
- DefaultSelectorLoopPool - Class in org.snf4j.core.pool
-
Default implementation for selector loop pool that is backed by an fixed-size array of selector loops.
- DefaultSelectorLoopPool(String, int, ThreadFactory, ISelectorLoopStructureFactory) - Constructor for class org.snf4j.core.pool.DefaultSelectorLoopPool
-
Constructs a named selector loop pool with given capacity and thread
factory.
- DefaultSelectorLoopPool(String, int) - Constructor for class org.snf4j.core.pool.DefaultSelectorLoopPool
-
Constructs a named selector loop pool with given capacity.
- DefaultSelectorLoopPool(int) - Constructor for class org.snf4j.core.pool.DefaultSelectorLoopPool
-
Constructs a unnamed selector loop pool with given capacity.
- DefaultSelectorLoopStructureFactory - Class in org.snf4j.core.factory
-
Default factory used to configure the internal structure of the selector loop.
- DefaultSessionConfig - Class in org.snf4j.core.session
-
Default configuration for the session.
- DefaultSessionConfig() - Constructor for class org.snf4j.core.session.DefaultSessionConfig
-
- DefaultSessionStructureFactory - Class in org.snf4j.core.factory
-
Default factory used to configure the internal structure of the created session.
- DefaultSessionStructureFactory() - Constructor for class org.snf4j.core.factory.DefaultSessionStructureFactory
-
Constructs default session's structure factory.
- DefaultThreadFactory - Class in org.snf4j.core.factory
-
Default implementation of the
ThreadFactory
interface that is
used by the API.
- DefaultTimeoutModel - Class in org.snf4j.core.timer
-
- DefaultTimeoutModel(int, long) - Constructor for class org.snf4j.core.timer.DefaultTimeoutModel
-
Constructs the model with given initial value and max value.
- DefaultTimeoutModel() - Constructor for class org.snf4j.core.timer.DefaultTimeoutModel
-
Constructs the model with default values: initial = 1000 and max = 60000
- DefaultTimer - Class in org.snf4j.core.timer
-
Default timer implementation that is backed by the
Timer
.
- DefaultTimer() - Constructor for class org.snf4j.core.timer.DefaultTimer
-
Constructs a new default timer.
- DefaultTimer(boolean) - Constructor for class org.snf4j.core.timer.DefaultTimer
-
Constructs a new default timer whose associated thread may be specified
to run as a daemon.
- DefaultTimer(String) - Constructor for class org.snf4j.core.timer.DefaultTimer
-
Constructs a new default timer whose associated thread has the specified
name.
- DefaultTimer(String, boolean) - Constructor for class org.snf4j.core.timer.DefaultTimer
-
Constructs a new default timer whose associated thread has the specified
name, and may be specified to run as a daemon.
- DefaultWebSocketSessionConfig - Class in org.snf4j.websocket
-
Default configuration for the Web Socket session.
- DefaultWebSocketSessionConfig(URI) - Constructor for class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Constructs the default Web Socket configuration for a client session
- DefaultWebSocketSessionConfig() - Constructor for class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Constructs the default Web Socket configuration for a server session
- deflateBound(int) - Method in class org.snf4j.core.codec.zip.GzipEncoder
-
- deflateBound(int) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Returns upper bound on the compressed size.
- deflater - Variable in class org.snf4j.core.codec.zip.ZlibEncoder
-
The compressor used by this class to compress data.
- destroy() - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Destroys sensitive information associated with this builder (i.e.
- direct - Variable in class org.snf4j.core.allocator.DefaultAllocator
-
Tells if the allocator should allocate direct buffers.
- dirtyClose() - Method in class org.snf4j.core.DatagramSession
-
- dirtyClose() - Method in class org.snf4j.core.EngineDatagramSession
-
- dirtyClose() - Method in class org.snf4j.core.EngineStreamSession
-
- dirtyClose() - Method in interface org.snf4j.core.session.ISession
-
Quickly closes this session without flushing any pending data and without following
close procedure of an application layer (e.g.
- dirtyClose() - Method in interface org.snf4j.core.session.ISessionPipeline
-
Marks this pipeline for closing and dirty closes the currently processed
session in the pipeline.
- DiscardingClient - Class in org.snf4j.example.discarding
-
- DiscardingClient() - Constructor for class org.snf4j.example.discarding.DiscardingClient
-
- DiscardingClientHandler - Class in org.snf4j.example.discarding
-
- DiscardingClientHandler() - Constructor for class org.snf4j.example.discarding.DiscardingClientHandler
-
- DiscardingServer - Class in org.snf4j.example.discarding
-
- DiscardingServer() - Constructor for class org.snf4j.example.discarding.DiscardingServer
-
- DiscardingServerHandler - Class in org.snf4j.example.discarding
-
- DiscardingServerHandler() - Constructor for class org.snf4j.example.discarding.DiscardingServerHandler
-
- DTLSClient - Class in org.snf4j.example.dtls
-
- DTLSClient() - Constructor for class org.snf4j.example.dtls.DTLSClient
-
- DTLSServer - Class in org.snf4j.example.dtls
-
- DTLSServer() - Constructor for class org.snf4j.example.dtls.DTLSServer
-
- DTLSServerHandler - Class in org.snf4j.core
-
DTLS server handler providing functionality to handle multiple remote
hosts via a single datagram-orinted session.
- DTLSServerHandler(IDatagramHandlerFactory) - Constructor for class org.snf4j.core.DTLSServerHandler
-
- DTLSServerHandler(IDatagramHandlerFactory, ISessionConfig) - Constructor for class org.snf4j.core.DTLSServerHandler
-
- DTLSServerHandler(IDatagramHandlerFactory, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.DTLSServerHandler
-
Constructs a DTLS server handler.
- DTLSSession - Class in org.snf4j.core
-
The datagram-oriented session that handles DTLS connections.
- DTLSSession(String, SocketAddress, IDatagramHandler, boolean) - Constructor for class org.snf4j.core.DTLSSession
-
Constructs a named DTLS session associated with a handler.
- DTLSSession(SocketAddress, IDatagramHandler, boolean) - Constructor for class org.snf4j.core.DTLSSession
-
Constructs a DTLS session associated with a handler.
- DTLSSession(String, IDatagramHandler, boolean) - Constructor for class org.snf4j.core.DTLSSession
-
Constructs a named DTLS session associated with a handler.
- DTLSSession(IDatagramHandler, boolean) - Constructor for class org.snf4j.core.DTLSSession
-
Constructs a DTLS session associated with a handler.
- EchoClient - Class in org.snf4j.example.echo
-
- EchoClient() - Constructor for class org.snf4j.example.echo.EchoClient
-
- EchoClientHandler - Class in org.snf4j.example.echo
-
- EchoServer - Class in org.snf4j.example.echo
-
- EchoServer() - Constructor for class org.snf4j.example.echo.EchoServer
-
- EchoServerHandler - Class in org.snf4j.example.echo
-
- enableRetransmissions(boolean) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures if DTLS handshake retransmissions should be enabled.
- enableRetransmissions(boolean) - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Configures if DTLS handshake retransmissions should be enabled.
- encode(ISession, byte[], List<ByteBuffer>) - Method in class org.snf4j.core.codec.bytes.ArrayToBufferEncoder
-
- encode(ISession, byte[], List<IByteBufferHolder>) - Method in class org.snf4j.core.codec.bytes.ArrayToBufferHolderEncoder
-
- encode(ISession, IByteBufferHolder, List<byte[]>) - Method in class org.snf4j.core.codec.bytes.BufferHolderToArrayEncoder
-
- encode(ISession, IByteBufferHolder, List<ByteBuffer>) - Method in class org.snf4j.core.codec.bytes.BufferHolderToBufferEncoder
-
- encode(ISession, ByteBuffer, List<byte[]>) - Method in class org.snf4j.core.codec.bytes.BufferToArrayEncoder
-
- encode(ISession, ByteBuffer, List<IByteBufferHolder>) - Method in class org.snf4j.core.codec.bytes.BufferToBufferHolderEncoder
-
- encode(ISession, I, List<O>) - Method in class org.snf4j.core.codec.CompoundEncoder
-
Encodes data from one type to another one.
- encode(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- encode(ISession, IByteBufferHolder) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- encode(ISession, byte[]) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- encode(ISession, Object) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- encode(ISession, ByteBuffer) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Encodes bytes from a byte buffer.
- encode(ISession, IByteBufferHolder) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Encodes bytes from a byte buffer holder.
- encode(ISession, byte[]) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Encodes bytes from a byte array.
- encode(ISession, Object) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Encodes a message.
- encode(ISession, I, List<O>) - Method in interface org.snf4j.core.codec.IEncoder
-
Encodes data from one type to another one.
- encode(ISession, byte[], List<ByteBuffer>) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Compresses the input data.
- encode(byte[]) - Static method in class org.snf4j.core.util.Base64Util
-
Encodes bytes from the specified byte array into a newly-allocated byte array
using the Base64 encoding scheme.
- encode(byte[], Charset) - Static method in class org.snf4j.core.util.Base64Util
-
Encodes the specified byte array into a String using the Base64 encoding
scheme.
- encode(byte[], int, int) - Static method in class org.snf4j.core.util.Base64Util
-
Encodes bytes from the specified byte array into a newly-allocated byte array
using the Base64 encoding scheme.
- encode(byte[], int, int, Charset) - Static method in class org.snf4j.core.util.Base64Util
-
Encodes the specified byte array into a String using the Base64 encoding
scheme.
- encode(ISession, Packet, List<byte[]>) - Method in class org.snf4j.example.dtls.PacketEncoder
-
- encode(ISession, ByteBuffer, List<ByteBuffer>) - Method in class org.snf4j.example.echo.Encoder
-
- encode(int, ByteBuffer[], int) - Static method in class org.snf4j.example.engine.Packet
-
- encode(int, byte[]) - Static method in class org.snf4j.example.engine.Packet
-
- encode(ISession, Packet, List<byte[]>) - Method in class org.snf4j.example.heartbeat.PacketEncoder
-
- encode(ISession, ByteBuffer, List<ByteBuffer>) - Method in class org.snf4j.example.sctp.Encoder
-
- encode(ISession, Frame, List<Frame>) - Method in class org.snf4j.websocket.extensions.compress.PerMessageDeflateEncoder
-
- encode(ISession, Frame, List<ByteBuffer>) - Method in class org.snf4j.websocket.frame.FrameEncoder
-
- encode(ISession, HandshakeFrame, List<ByteBuffer>) - Method in class org.snf4j.websocket.handshake.HandshakeEncoder
-
- Encoder - Class in org.snf4j.example.echo
-
- Encoder() - Constructor for class org.snf4j.example.echo.Encoder
-
- Encoder - Class in org.snf4j.example.sctp
-
- Encoder() - Constructor for class org.snf4j.example.sctp.Encoder
-
- encoderKeys() - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Returns a list of keys that identify all encoders in this pipeline.
- EndingAction - Enum in org.snf4j.core
-
An enum
that defines actions that are performed by the selector
loop after ending a session.
- engineBuilder() - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Creates a new
SSLEngine
builder pre-configured with the current
configuration settings.
- EngineClient - Class in org.snf4j.example.engine
-
- EngineClient() - Constructor for class org.snf4j.example.engine.EngineClient
-
- EngineClientHandler - Class in org.snf4j.example.engine
-
- EngineClientHandler() - Constructor for class org.snf4j.example.engine.EngineClientHandler
-
- EngineDatagramSession - Class in org.snf4j.core
-
A datagram-oriented session that handles protocols driven by customized protocol engines
implementing the
IEngine
interface.
- EngineDatagramSession(String, IEngine, SocketAddress, IDatagramHandler, ILogger) - Constructor for class org.snf4j.core.EngineDatagramSession
-
Constructs a named datagram-oriented session associated with a protocol
engine and a handler.
- EngineDatagramSession(IEngine, SocketAddress, IDatagramHandler, ILogger) - Constructor for class org.snf4j.core.EngineDatagramSession
-
Constructs a datagram-oriented session associated with a protocol engine and
a handler.
- EngineDatagramSession(String, IEngine, IDatagramHandler, ILogger) - Constructor for class org.snf4j.core.EngineDatagramSession
-
Constructs a named datagram-oriented session associated with a protocol
engine and a handler.
- EngineDatagramSession(IEngine, IDatagramHandler, ILogger) - Constructor for class org.snf4j.core.EngineDatagramSession
-
Constructs a datagram-oriented session associated with a protocol engine and
a handler.
- EngineFactory - Class in org.snf4j.example.engine
-
- EngineFactory() - Constructor for class org.snf4j.example.engine.EngineFactory
-
- EngineResult - Class in org.snf4j.core.engine
-
- EngineResult(Status, HandshakeStatus, int, int) - Constructor for class org.snf4j.core.engine.EngineResult
-
Initializes a new instance of this class.
- EngineServer - Class in org.snf4j.example.engine
-
- EngineServer() - Constructor for class org.snf4j.example.engine.EngineServer
-
- EngineServerHandler - Class in org.snf4j.example.engine
-
- EngineServerHandler() - Constructor for class org.snf4j.example.engine.EngineServerHandler
-
- EngineSession - Class in org.snf4j.example.engine
-
- EngineSession(IEngine, IStreamHandler) - Constructor for class org.snf4j.example.engine.EngineSession
-
- EngineStreamSession - Class in org.snf4j.core
-
A stream-oriented session that handles protocols driven by customized protocol engines
implementing the
IEngine
interface.
- EngineStreamSession(String, IEngine, IStreamHandler, ILogger) - Constructor for class org.snf4j.core.EngineStreamSession
-
Constructs a named stream-oriented session associated with a protocol
engine and a handler.
- EngineStreamSession(IEngine, IStreamHandler, ILogger) - Constructor for class org.snf4j.core.EngineStreamSession
-
Constructs a stream-oriented session associated with a protocol
engine and a handler.
- ensure(ByteBuffer, int, int, int) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Assures that returned buffer will contain room for new data.
- ensure() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- ensure(ByteBuffer, int, int, int) - Method in interface org.snf4j.core.allocator.IByteBufferAllocator
-
Assures that returned buffer will contain room for new data.
- ensure() - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when allocation was performed as a result of calling
the
ensure
method in
the associated allocator.
- ensureSome(ByteBuffer, int, int) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Ensures that returned buffer will contain some room for new data.
- ensureSome() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- ensureSome(ByteBuffer, int, int) - Method in interface org.snf4j.core.allocator.IByteBufferAllocator
-
Ensures that returned buffer will contain some room for new data.
- ensureSome() - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when allocation was performed as a result of calling
the
ensureSome
method in
the associated allocator.
- err(String) - Static method in class org.snf4j.example.echo.Logger
-
- error(ILogger, String, Object...) - Method in class org.snf4j.core.logger.DefaultExceptionLogger
-
- error(ILogger, String, Object...) - Method in interface org.snf4j.core.logger.IExceptionLogger
-
Logs a message at the ERROR level with varying number of arguments.
- error(String) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the ERROR level.
- error(String, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the ERROR level with one argument.
- error(String, Object, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the ERROR level with two arguments.
- error(String, Object...) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the ERROR level with three or more arguments.
- error(String) - Method in class org.snf4j.core.logger.NopLogger
-
- error(String, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- error(String, Object, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- error(String, Object...) - Method in class org.snf4j.core.logger.NopLogger
-
- error(String) - Static method in class org.snf4j.example.file.Logger
-
- event(ISession, SessionEvent) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- event(ISession, SessionEvent) - Method in class org.snf4j.core.codec.EventDrivenCompoundDecoder
-
- event(ISession, SessionEvent) - Method in class org.snf4j.core.codec.EventDrivenCompoundEncoder
-
- event(ISession, SessionEvent) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Signals a session event to all event-driven codecs in the associated
pipeline.
- event(ISession, SessionEvent) - Method in interface org.snf4j.core.codec.IEventDrivenCodec
-
Signals a session event to the codec.
- event(ISession, SessionEvent) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
- event(ISession, SessionEvent) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
- event(SessionEvent) - Method in class org.snf4j.core.DatagramServerHandler
-
- event(DataEvent, long) - Method in class org.snf4j.core.DatagramServerHandler
-
- event(SocketAddress, DataEvent, long) - Method in class org.snf4j.core.DatagramServerHandler
-
- event(SessionEvent) - Method in class org.snf4j.core.future.SessionFuturesController
-
Notifies this controller about events related with changes of the
session state.
- event(DataEvent, long) - Method in class org.snf4j.core.future.SessionFuturesController
-
Notifies this controller about events related with I/O operations.
- event(SocketAddress, DataEvent, long) - Method in class org.snf4j.core.handler.AbstractDatagramHandler
-
- event(SessionEvent) - Method in class org.snf4j.core.handler.AbstractHandler
-
- event(DataEvent, long) - Method in class org.snf4j.core.handler.AbstractHandler
-
- event(SocketAddress, DataEvent, long) - Method in interface org.snf4j.core.handler.IDatagramHandler
-
Called to notify about an I/O operation related to a specified remote host.
- event(SessionEvent) - Method in interface org.snf4j.core.handler.IHandler
-
Called to notify about a change of the associated session state.
- event(DataEvent, long) - Method in interface org.snf4j.core.handler.IHandler
-
Called to notify about an I/O operation.
- event(SessionEvent) - Method in class org.snf4j.core.proxy.AbstractProxyHandler
-
- event(SessionEvent) - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
- event(SessionEvent) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.chat.ChatClientHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.chat.ChatServerHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.discarding.DiscardingClientHandler
-
- event(DataEvent, long) - Method in class org.snf4j.example.discarding.DiscardingClientHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.dtls.SessionHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.echo.EchoClientHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.file.AbstractFileHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.file.FileClientHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.sctp.SctpClientHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.websocket.WebSocketClientHandler
-
- event(SessionEvent) - Method in class org.snf4j.example.websocket.WebSocketServerHandler
-
- event(ISession, SessionEvent) - Method in class org.snf4j.websocket.handshake.HandshakeEncoder
-
- EventDrivenCompoundDecoder<I,O> - Class in org.snf4j.core.codec
-
An event driven compound decoder that processes input data through a chain of
the specified decoders.
- EventDrivenCompoundDecoder(IDecoder<?, ?>...) - Constructor for class org.snf4j.core.codec.EventDrivenCompoundDecoder
-
Constructs an event driven compound decoder with a chain of the specified
decoders.
- EventDrivenCompoundEncoder<I,O> - Class in org.snf4j.core.codec
-
An event driven compound encoder that processes input data through a chain of
the specified encoders.
- EventDrivenCompoundEncoder(IEncoder<?, ?>...) - Constructor for class org.snf4j.core.codec.EventDrivenCompoundEncoder
-
Constructs an event driven compound encoder with a chain of the specified
encoders.
- EventType - Enum in org.snf4j.core
-
An enum
that represents all session related event types.
- exception(Throwable) - Method in class org.snf4j.core.DatagramServerHandler
-
- exception(SctpServerChannel, Throwable) - Method in class org.snf4j.core.factory.AbstractSctpSessionFactory
-
- exception(ServerSocketChannel, Throwable) - Method in class org.snf4j.core.factory.AbstractSessionFactory
-
- exception(SctpServerChannel, Throwable) - Method in interface org.snf4j.core.factory.ISctpSessionFactory
-
Notifies about an exception caught during processing of a listening
channel.
- exception(ServerSocketChannel, Throwable) - Method in interface org.snf4j.core.factory.IStreamSessionFactory
-
Notifies about an exception caught during processing of a listening
channel.
- exception(Throwable) - Method in class org.snf4j.core.future.SessionFuturesController
-
Notifies this controller about an failure.
- exception(Throwable) - Method in class org.snf4j.core.handler.AbstractHandler
-
- exception(Throwable) - Method in interface org.snf4j.core.handler.IHandler
-
Called to notify about an exception caught during processing of I/O or
protocol related operations.
- exception(Throwable) - Method in class org.snf4j.example.dtls.SessionHandler
-
- exception(Throwable) - Method in class org.snf4j.example.echo.EchoClientHandler
-
- exception(Throwable) - Method in class org.snf4j.example.echo.EchoServerHandler
-
- exception(Throwable) - Method in class org.snf4j.example.file.FileClientHandler
-
- exception(Throwable) - Method in class org.snf4j.example.sctp.SctpServerHandler
-
- exception(ServerSocketChannel, Throwable) - Method in class org.snf4j.websocket.AbstractWebSocketSessionFactory
-
- EXCEPTION_LOGGER_SYSTEM_PROERTY - Static variable in class org.snf4j.core.Constants
-
System property specifying the full class name of an external exception
logger.
- ExceptionLogger - Class in org.snf4j.core.logger
-
Utility class used by the API for producing exception logger based on
the runtime configuration.
- execute(Runnable) - Method in class org.snf4j.core.DefaultExecutor
-
Executes the given command in the following way:
- execute(Runnable) - Method in interface org.snf4j.core.session.ISession
-
Executes a task in the selector-loop's thread this session is registered
with.
- executenf(Runnable) - Method in interface org.snf4j.core.session.ISession
-
Executes a task in the selector-loop's thread this session is registered
with.
- extend(ByteBuffer, int) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Extends the capacity of the buffer based on its current capacity.
- extend() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- extend(ByteBuffer, int) - Method in interface org.snf4j.core.allocator.IByteBufferAllocator
-
Extends the capacity of the buffer based on its current capacity.
- extend() - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when allocation was performed as a result of calling
the
extend
method in
the associated allocator.
- get(int) - Method in class org.snf4j.core.ByteBufferHolder
-
- get(Object) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Returns the codec identified by the specified key in this pipeline.
- get() - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- get(long, TimeUnit) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- get(Object) - Method in interface org.snf4j.core.session.ISessionPipeline
-
Returns the session identified by the specified key in this pipeline.
- get() - Method in class org.snf4j.core.thread.FastThreadLocal
- getAbortableWriteFuture(long) - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns an abortable future that can be used to wait for the completion
of a write operation.
- getAddress() - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
Returns the destination address.
- getAddress() - Method in interface org.snf4j.core.proxy.ISocksReply
-
Returns the address in the received reply.
- getAddressType() - Method in interface org.snf4j.core.proxy.ISocksReply
-
Returns the type of the address in the received reply.
- getAllocatedCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of true allocations that have been performed by the
associated allocator.
- getAllocatedSize() - Method in class org.snf4j.example.file.AllocatorMetric
-
- getAllocatingCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of allocations that have been performed by
the associated allocator.
- getAllocator() - Method in class org.snf4j.core.factory.DefaultSessionStructureFactory
-
Gets a byte buffer allocator that will used by the created session.
- getAllocator() - Method in interface org.snf4j.core.factory.ISessionStructureFactory
-
Gets a byte buffer allocator that will used by the created session.
- getAllocator() - Method in interface org.snf4j.core.handler.IAllocatingHandler
-
Returns the allocator that is associated with this handler.
- getAllocator() - Method in class org.snf4j.example.dtls.SessionStructureFactory
-
- getAssociation() - Method in class org.snf4j.core.SctpMultiSession
-
- getAssociation() - Method in class org.snf4j.core.SctpSession
-
- getAssociation() - Method in interface org.snf4j.core.session.ISctpSession
-
Returns the association on the SCTP channel's socket associated with this
session
- getAssociations() - Method in class org.snf4j.core.SctpMultiSession
-
- getAssociations() - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Returns the open associations on the SCTP multi-channel's socket associated
with this session.
- getAttributes() - Method in class org.snf4j.core.factory.DefaultSessionStructureFactory
-
Gets an attributes that will be used by the created session.
- getAttributes() - Method in interface org.snf4j.core.factory.ISessionStructureFactory
-
Gets an attributes that will be used by the created session.
- getAttributes() - Method in class org.snf4j.core.session.AbstractSession
-
- getAttributes() - Method in interface org.snf4j.core.session.ISession
-
Returns the thread safe map of the user-defined attributes associated with this session.
- getBaseDecoder() - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- getBaseDecoder() - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Gets the base decoder.
- getBuffer() - Method in exception org.snf4j.core.handler.SctpSendingFailureException
-
Returns the message that was to be sent.
- getBytes(ByteBuffer[], int) - Static method in class org.snf4j.example.engine.Packet
-
- getCancelledFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns a cancelled future.
- getCapacity() - Method in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
Gets the capacity of this pool.
- getCloseData() - Static method in class org.snf4j.example.engine.Packet
-
- getCloseFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns the future that can be use to wait for the completion of the
session's closing phase.
- getCloseFuture() - Method in interface org.snf4j.core.session.ISession
-
Gets the future that can be use to wait for the completion of the closing
phase.
- getCloseType() - Method in interface org.snf4j.core.ICloseControllingException
-
Returns the way a session should be closed after throwing this exception
during processing of session's I/O operations.
- getCloseType() - Method in exception org.snf4j.websocket.frame.InvalidFrameException
-
- getCloseType() - Method in exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
- getClosingCause() - Method in interface org.snf4j.core.ICloseControllingException
-
Returns the cause that triggered the close operation.
- getClosingCause() - Method in exception org.snf4j.websocket.frame.InvalidFrameException
-
- getClosingCause() - Method in exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
- getClosingReason() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- getClosingReason() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Returns a detailed reason why the handshake phase could not finished
successfully.
- getCodecExecutorIdentifier(MessageInfo) - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Returns an identifier of the codec executor that should be used for
decoding/encoding SCTP messages that can be identified by the given ancillary
data.
- getCodecExecutorIdentifier(MessageInfo) - Method in interface org.snf4j.core.session.ISctpSessionConfig
-
Returns an identifier of the codec executor that should be used for
decoding/encoding SCTP messages that can be identified by the given ancillary
data.
- getCodecExecutorIdentifier(MessageInfo) - Method in class org.snf4j.example.sctp.SessionConfig
-
- getCodecPipeline(Object) - Method in interface org.snf4j.core.session.ISctpSession
-
Gets the codec pipeline that is associated with this session and is
identified by the given identifier.
- getCodecPipeline() - Method in interface org.snf4j.core.session.ISession
-
Gets the codec pipeline that is associated with this session.
- getConfig() - Method in class org.snf4j.core.DatagramServerHandler
-
- getConfig() - Method in class org.snf4j.core.handler.AbstractHandler
-
- getConfig() - Method in class org.snf4j.core.handler.AbstractSctpHandler
-
- getConfig() - Method in interface org.snf4j.core.handler.IHandler
-
Returns the configuration object that will be used to configure the
behavior of the associated session.
- getConfig() - Method in interface org.snf4j.core.handler.ISctpHandler
-
Returns the configuration object that will be used to configure the
behavior of the associated SCTP session.
- getConfig() - Method in interface org.snf4j.core.session.ISession
-
Gets the configuration of this session.
- getConfig() - Method in class org.snf4j.example.chat.ChatClientHandler
-
- getConfig() - Method in class org.snf4j.example.discarding.DiscardingClientHandler
-
- getConfig() - Method in class org.snf4j.example.dtls.SessionHandler
-
- getConfig() - Method in class org.snf4j.example.echo.EchoClientHandler
-
- getConfig() - Method in class org.snf4j.example.echo.EchoServerHandler
-
- getConfig() - Method in class org.snf4j.example.file.AbstractFileHandler
-
- getConfig() - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- getConfig() - Method in class org.snf4j.example.sctp.SctpClientHandler
-
- getConfig() - Method in class org.snf4j.example.sctp.SctpServerHandler
-
- getConfig() - Method in class org.snf4j.example.websocket.WebSocketClientHandler
-
- getConfig() - Method in class org.snf4j.example.websocket.WebSocketServerHandler
-
- getConfig() - Method in class org.snf4j.websocket.AbstractWebSocketHandler
-
Returns the Web Socket configuration object that will be used to configure
the behavior of the associated session.
- getConfig() - Method in interface org.snf4j.websocket.IWebSocketHandler
-
- getController() - Method in class org.snf4j.core.SelectorLoop
-
Gets the controller determining the behavior of this selector loop.
- getCreateFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns the future that can be use to wait for the completion of the
session's creation phase.
- getCreateFuture() - Method in interface org.snf4j.core.session.ISession
-
Gets the future that can be use to wait for the completion of the
creation phase.
- getCreationTime() - Method in interface org.snf4j.core.session.ISession
-
Gets the session's creation time in milliseconds.
- getDatagramServerSessionNoReopenPeriod() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Determines how long the
DatagramServerHandler
should block re-opening of a new session for the
remote peer which session has just been closed.
- getDatagramServerSessionNoReopenPeriod() - Method in interface org.snf4j.core.session.ISessionConfig
-
Determines how long the
DatagramServerHandler
should block re-opening of a new session for the
remote peer which session has just been closed.
- getDefaultPort(URI) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
Returns the default port number associated with the scheme in the provided
URI.
- getDefaultSctpPayloadProtocolID() - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Returns the payload protocol identifier for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDefaultSctpPayloadProtocolID() - Method in interface org.snf4j.core.session.ISctpSessionConfig
-
Returns the payload protocol identifier for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDefaultSctpPeerAddress() - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Returns the preferred peer address for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDefaultSctpPeerAddress() - Method in interface org.snf4j.core.session.ISctpSessionConfig
-
Returns the preferred peer address for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDefaultSctpStreamNumber() - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Returns the stream number for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDefaultSctpStreamNumber() - Method in interface org.snf4j.core.session.ISctpSessionConfig
-
Returns the stream number for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDefaultSctpUnorderedFlag() - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Returns the unordered flag for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDefaultSctpUnorderedFlag() - Method in interface org.snf4j.core.session.ISctpSessionConfig
-
Returns the unordered flag for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- getDelegate() - Method in interface org.snf4j.core.IDelegatingSelector
-
Returns the underlying original selector that is wrapped by this implementation
of
Selector
- getDelegatedTask() - Method in interface org.snf4j.core.engine.IEngine
-
Returns a delegated
Runnable
task for an
IEngine
implementation.
- getDelegatedTask() - Method in class org.snf4j.example.engine.AbstractEngine
-
- getDelegatingFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns a future which can be represented by other delegate future.
- getEndFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns the future that can be use to wait for the completion of the
session's ending phase.
- getEndFuture() - Method in interface org.snf4j.core.session.ISession
-
Gets the future that can be use to wait for the completion of the ending
phase.
- getEndingAction() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Gets the action that should be performed by the selector
loop after ending of the associated session.
- getEndingAction() - Method in interface org.snf4j.core.session.ISessionConfig
-
Gets the action that should be performed by the selector
loop after ending of the associated session.
- getEngineHandshakeTimeout() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Determines how long the SNF4J framework should wait for completion of the
handshake phase for engine-driven sessions.
- getEngineHandshakeTimeout() - Method in interface org.snf4j.core.session.ISessionConfig
-
Determines how long the SNF4J framework should wait for completion of the
handshake phase for engine-driven sessions.
- getEngineSession() - Method in class org.snf4j.core.DTLSSession
-
- getEngineSession() - Method in class org.snf4j.core.EngineDatagramSession
-
- getEngineSession() - Method in class org.snf4j.core.EngineStreamSession
-
- getEngineSession() - Method in interface org.snf4j.core.session.IEngineSession
-
Returns an object representing a session in the protocol engine driving this
session.
- getEngineSession() - Method in class org.snf4j.core.SSLSession
-
- getEngineWriteFuture(long) - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns a future that can be used to wait for the completion of write
operations from engine driven sessions.
- getEnsureCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of re-allocations that have been performed by
the
ensure
method in
the associated allocator.
- getEnsureSomeCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of re-allocations that have been performed by
the
ensureSome
method in
the associated allocator.
- getExecutor() - Method in class org.snf4j.core.EngineDatagramSession
-
- getExecutor() - Method in class org.snf4j.core.EngineStreamSession
-
- getExecutor() - Method in class org.snf4j.core.factory.DefaultSessionStructureFactory
-
Returns an executor that will be used by engine-driven sessions to execute
delegated tasks required by the sessions to complete operations that block, or
may take an extended period of time to complete.
- getExecutor() - Method in interface org.snf4j.core.factory.ISessionStructureFactory
-
Returns an executor that will be used by engine-driven sessions to execute
delegated tasks required by the sessions to complete operations that block, or
may take an extended period of time to complete.
- getExecutor() - Method in interface org.snf4j.core.session.IEngineSession
-
Returns the executor that is used to execute delegated tasks
required by this session to complete operations that block, or may take
an extended period of time to complete.
- getExtendCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of re-allocations that have been performed by
the
extend
method in
the associated allocator.
- getExtension(String) - Method in class org.snf4j.websocket.handshake.Handshaker
-
- getExtension(String) - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Returns the negotiated extension identified by the specified name.
- getExtensionNames() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- getExtensionNames() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Returns the names of all extensions that have been negotiated
- getExtensions() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- getExtensions() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Returns all extensions that have been negotiated
- getFactory() - Method in class org.snf4j.core.DatagramServerHandler
-
- getFactory() - Method in class org.snf4j.core.handler.AbstractHandler
-
- getFactory() - Method in interface org.snf4j.core.handler.IHandler
-
Returns the factory object that will be used to configure the internal
structure of the associated session.
- getFactory() - Method in class org.snf4j.core.logger.impl.LoggerFactoryBinder
-
Gets the actual implementation of the
ILoggerFactory
interface
that should be used by the API for logging purposes.
- getFactory() - Method in class org.snf4j.core.proxy.AbstractProxyHandler
-
- getFactory() - Method in class org.snf4j.example.dtls.SessionHandler
-
- getFactory() - Method in class org.snf4j.example.echo.EchoClientHandler
-
- getFactory() - Method in class org.snf4j.example.echo.EchoServerHandler
-
- getFactory() - Method in class org.snf4j.example.file.AbstractFileHandler
-
- getFactory() - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- getFactory() - Method in class org.snf4j.example.sctp.SctpServerHandler
-
- getFailedFuture(Throwable) - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns a failed future with the specified cause.
- getFastThreadLocal(int) - Method in class org.snf4j.core.thread.FastThreadLocalThread
-
- getFastThreadLocal(int) - Method in interface org.snf4j.core.thread.IFastThreadLocalThread
-
Returns a fast thread-local variable that is stored at the given index.
- getFirstThreshold() - Method in interface org.snf4j.core.future.ITwoThresholdFuture
-
Gets the first threshold.
- getFragments() - Method in class org.snf4j.websocket.frame.AggregatedBinaryFrame
-
- getFragments() - Method in class org.snf4j.websocket.frame.AggregatedTextFrame
-
- getFragments() - Method in interface org.snf4j.websocket.frame.IAggregatedFrame
-
Returns all payload data fragments already stored in this frame.
- getGroupId() - Method in class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
Returns an object that identifies the group to which the extension belongs.
- getGroupId() - Method in interface org.snf4j.websocket.extensions.IExtension
-
Returns an object that identifies the group to which the extension belongs.
- getHandler() - Method in class org.snf4j.core.DatagramSession
-
- getHandler() - Method in class org.snf4j.core.EngineDatagramSession
-
- getHandler() - Method in class org.snf4j.core.EngineStreamSession
-
- getHandler() - Method in interface org.snf4j.core.session.IDatagramSession
-
Gets the datagram-oriented handler associated with this session
- getHandler() - Method in interface org.snf4j.core.session.ISctpSession
-
Gets the SCTP handler associated with this session
- getHandler() - Method in interface org.snf4j.core.session.ISession
-
Gets the handler associated with this session
- getHandler() - Method in interface org.snf4j.core.session.IStreamSession
-
Gets the stream-oriented handler associated with this session
- getHandler() - Method in class org.snf4j.core.StreamSession
-
- getHandshaker() - Method in interface org.snf4j.websocket.IWebSocketSession
-
Returns the Web Socket handshaker associated with this session.
- getHandshaker() - Method in class org.snf4j.websocket.SSLWebSocketSession
-
- getHandshaker() - Method in class org.snf4j.websocket.WebSocketSession
-
- getHandshakeStatus() - Method in class org.snf4j.core.engine.EngineResult
-
- getHandshakeStatus() - Method in interface org.snf4j.core.engine.IEngine
-
Returns the current handshake status for an
IEngine
implementation.
- getHandshakeStatus() - Method in interface org.snf4j.core.engine.IEngineResult
-
Gets the current handshake status produced by the
IEngine
call.
- getHandshakeStatus() - Method in class org.snf4j.example.engine.AbstractEngine
-
- getId() - Method in class org.snf4j.core.IdentifiableObject
-
Returns the unique id of this object.
- getId() - Method in interface org.snf4j.core.session.ISession
-
Gets a unique identifier for this session
- getIllegalState() - Method in exception org.snf4j.core.session.IllegalSessionStateException
-
Returns the illegal state of a session that caused this exception.
- getInboundType() - Method in class org.snf4j.core.codec.bytes.ArrayToBufferCodec
-
- getInboundType() - Method in class org.snf4j.core.codec.bytes.ArrayToBufferHolderCodec
-
- getInboundType() - Method in class org.snf4j.core.codec.bytes.BufferHolderToArrayCodec
-
- getInboundType() - Method in class org.snf4j.core.codec.bytes.BufferHolderToBufferCodec
-
- getInboundType() - Method in class org.snf4j.core.codec.bytes.BufferToArrayCodec
-
- getInboundType() - Method in class org.snf4j.core.codec.bytes.BufferToBufferHolderCodec
-
- getInboundType() - Method in interface org.snf4j.core.codec.ICodec
-
Returns the type of the accepted inbound objects.
- getInboundType() - Method in class org.snf4j.core.codec.zip.ZlibCodec
-
- getInboundType() - Method in class org.snf4j.example.dtls.PacketDecoder
-
- getInboundType() - Method in class org.snf4j.example.dtls.PacketEncoder
-
- getInboundType() - Method in class org.snf4j.example.echo.Decoder
-
- getInboundType() - Method in class org.snf4j.example.echo.Encoder
-
- getInboundType() - Method in class org.snf4j.example.heartbeat.PacketDecoder
-
- getInboundType() - Method in class org.snf4j.example.heartbeat.PacketEncoder
-
- getInboundType() - Method in class org.snf4j.example.sctp.Aggregator
-
- getInboundType() - Method in class org.snf4j.example.sctp.Decoder
-
- getInboundType() - Method in class org.snf4j.example.sctp.Encoder
-
- getInboundType() - Method in class org.snf4j.example.websocket.IndexPageDecoder
-
- getInboundType() - Method in class org.snf4j.websocket.frame.FrameAggregator
-
- getInboundType() - Method in class org.snf4j.websocket.frame.FrameDecoder
-
- getInboundType() - Method in class org.snf4j.websocket.frame.FrameEncoder
-
- getInboundType() - Method in class org.snf4j.websocket.frame.FrameUtf8Validator
-
- getInboundType() - Method in class org.snf4j.websocket.handshake.HandshakeDecoder
-
- getInboundType() - Method in class org.snf4j.websocket.handshake.HandshakeEncoder
-
- getIncident() - Method in exception org.snf4j.core.handler.SessionIncidentException
-
Returns the incident of this exception.
- getInstance() - Static method in class org.snf4j.core.logger.ExceptionLogger
-
Gets the instance of the currently configured exception logger.
- getInstance() - Static method in class org.snf4j.core.logger.impl.LoggerFactoryBinder
-
Gets the singleton of this class.
- getKeys() - Method in interface org.snf4j.core.session.ISessionPipeline
-
Returns a list of keys that identify all session in this pipeline.
- getLastIoTime() - Method in interface org.snf4j.core.session.ISession
-
Gets the time in milliseconds when I/O operation occurred lastly.
- getLastReadTime() - Method in interface org.snf4j.core.session.ISession
-
Gets the time in milliseconds when read operation occurred lastly.
- getLastWriteTime() - Method in interface org.snf4j.core.session.ISession
-
Gets the time in milliseconds when write operation occurred lastly.
- getLocalAddress() - Method in class org.snf4j.core.DatagramSession
-
- getLocalAddress() - Method in interface org.snf4j.core.session.ISctpSession
-
Returns one of the local addresses this session is bound to.
- getLocalAddress() - Method in interface org.snf4j.core.session.ISession
-
Return the local address this session is bound to.
- getLocalAddress() - Method in class org.snf4j.core.StreamSession
-
- getLocalAddresses() - Method in interface org.snf4j.core.session.ISctpSession
-
Returns all of the socket addresses to which the SCTP channel associated with
this session is bound.
- getLogger(String) - Method in interface org.snf4j.core.logger.ILoggerFactory
-
Returns an instance of the
ILogger
interface that is appropriate for
the specified name.
- getLogger(String) - Method in class org.snf4j.core.logger.impl.Log4j2LoggerFactory
-
- getLogger(String) - Method in class org.snf4j.core.logger.impl.Slf4jLoggerFactory
-
- getLogger(Class<?>) - Static method in class org.snf4j.core.logger.LoggerFactory
-
Returns an instance of the
ILogger
interface that is appropriate for
the specified class.
- getLogger(String) - Method in class org.snf4j.core.logger.NopLoggerFactory
-
Returns a logger that simply does not log any messages.
- getLoop(SelectableChannel) - Method in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
Gets the best selector loop from this pool that should be used to process
given channel.
- getLoop(SelectableChannel) - Method in interface org.snf4j.core.pool.ISelectorLoopPool
-
Gets the best selector loop from this pool that should be used to process
given channel.
- getMaxApplicationBufferSize() - Method in interface org.snf4j.core.engine.IEngine
-
Gets the current maximum size of the buffer holding application data
- getMaxApplicationBufferSize() - Method in class org.snf4j.example.engine.AbstractEngine
-
- getMaxCapacity() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the capacity of the biggest buffer allocated by the associated allocator.
- getMaxFramePayloadLength() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Determines the maximum length of the payload in the decoded Web Socket
frames.
- getMaxFramePayloadLength() - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines the maximum length of the payload in the decoded Web Socket
frames.
- getMaxHandshakeFrameLength() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Determines the maximum length of the decoded Web Socket handshake frames.
- getMaxHandshakeFrameLength() - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines the maximum length of the decoded Web Socket handshake frames.
- getMaxInBufferCapacity() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Gets the maximum capacity for the session's input buffer.
- getMaxInBufferCapacity() - Method in interface org.snf4j.core.session.ISessionConfig
-
Gets the maximum capacity for the session's input buffer.
- getMaxNetworkBufferSize() - Method in interface org.snf4j.core.engine.IEngine
-
Gets the current maximum size of the buffer holding network data
- getMaxNetworkBufferSize() - Method in class org.snf4j.example.engine.AbstractEngine
-
- getMaxSSLApplicationBufferSizeRatio() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Gets the ratio that is used to calculate the maximum size of the SSL
application buffers.
- getMaxSSLApplicationBufferSizeRatio() - Method in interface org.snf4j.core.session.ISessionConfig
-
Gets the ratio that is used to calculate the maximum size of the SSL
application buffers.
- getMaxSSLNetworkBufferSizeRatio() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Gets the ratio that is used to calculate the maximum size of the SSL
network buffers.
- getMaxSSLNetworkBufferSizeRatio() - Method in interface org.snf4j.core.session.ISessionConfig
-
Gets the ratio that is used to calculate the maximum size of the SSL
network buffers.
- getMaxWriteSpinCount() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Returns the maximum loop count for write operations performed by the selector
loop before returning control to the NIO selector or to other channel ready
for I/O operations.
- getMaxWriteSpinCount() - Method in interface org.snf4j.core.session.ISessionConfig
-
Returns the maximum loop count for write operations performed by the selector
loop before returning control to the NIO selector or to other channel ready
for I/O operations.
- getMessageInfo() - Method in exception org.snf4j.core.handler.SctpSendingFailureException
-
Returns the immutable ancillary data about the message that was to be sent
- getMinApplicationBufferSize() - Method in interface org.snf4j.core.engine.IEngine
-
Gets the current minimum size of the buffer holding application data.
- getMinApplicationBufferSize() - Method in class org.snf4j.example.engine.AbstractEngine
-
- getMinCapacity() - Method in class org.snf4j.core.allocator.CachingAllocator
-
Gets the minimal capacity for buffers allocated by this allocator.
- getMinInBufferCapacity() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Gets the minimum capacity for the session's input buffer.
- getMinInBufferCapacity() - Method in interface org.snf4j.core.session.ISessionConfig
-
Gets the minimum capacity for the session's input buffer.
- getMinNetworkBufferSize() - Method in interface org.snf4j.core.engine.IEngine
-
Gets the current minimum size of the buffer holding network data.
- getMinNetworkBufferSize() - Method in class org.snf4j.example.engine.AbstractEngine
-
- getMinOutBufferCapacity() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Gets the minimum capacity for the session's output buffer.
- getMinOutBufferCapacity() - Method in interface org.snf4j.core.session.ISessionConfig
-
Gets the minimum capacity for the session's output buffer.
- getName() - Method in class org.snf4j.core.handler.AbstractHandler
-
- getName() - Method in interface org.snf4j.core.handler.IHandler
-
Returns the name of the handler.
- getName() - Method in class org.snf4j.core.IdentifiableObject
-
Returns the name of this object.
- getName() - Method in interface org.snf4j.core.session.ISession
-
Gets the name for this session
- getName() - Method in class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
Returns the name of the extension.
- getName() - Method in interface org.snf4j.websocket.extensions.IExtension
-
Returns the name of the extension.
- getNames() - Method in class org.snf4j.websocket.handshake.HandshakeFrame
-
Returns names of header fields already added to this frame.
- getNow() - Method in class org.snf4j.core.future.AbstractFuture
-
Returns null
.
- getNow() - Method in interface org.snf4j.core.future.IFuture
-
Returns the result without blocking, or null
if this future is not done
yet or when null
is expected value.
- getOpcode() - Method in class org.snf4j.websocket.frame.Frame
-
Returns the type (opcode) of this frame.
- getOpenFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns the future that can be use to wait for the completion of the
session's opening phase.
- getOpenFuture() - Method in interface org.snf4j.core.session.ISession
-
Gets the future that can be use to wait for the completion of the opening
phase.
- getOutboundType() - Method in class org.snf4j.core.codec.bytes.ArrayToBufferCodec
-
- getOutboundType() - Method in class org.snf4j.core.codec.bytes.ArrayToBufferHolderCodec
-
- getOutboundType() - Method in class org.snf4j.core.codec.bytes.BufferHolderToArrayCodec
-
- getOutboundType() - Method in class org.snf4j.core.codec.bytes.BufferHolderToBufferCodec
-
- getOutboundType() - Method in class org.snf4j.core.codec.bytes.BufferToArrayCodec
-
- getOutboundType() - Method in class org.snf4j.core.codec.bytes.BufferToBufferHolderCodec
-
- getOutboundType() - Method in interface org.snf4j.core.codec.ICodec
-
Returns the type of the produced outbound objects.
- getOutboundType() - Method in class org.snf4j.core.codec.zip.ZlibCodec
-
- getOutboundType() - Method in class org.snf4j.example.dtls.PacketDecoder
-
- getOutboundType() - Method in class org.snf4j.example.dtls.PacketEncoder
-
- getOutboundType() - Method in class org.snf4j.example.echo.Decoder
-
- getOutboundType() - Method in class org.snf4j.example.echo.Encoder
-
- getOutboundType() - Method in class org.snf4j.example.heartbeat.PacketDecoder
-
- getOutboundType() - Method in class org.snf4j.example.heartbeat.PacketEncoder
-
- getOutboundType() - Method in class org.snf4j.example.sctp.Aggregator
-
- getOutboundType() - Method in class org.snf4j.example.sctp.Decoder
-
- getOutboundType() - Method in class org.snf4j.example.sctp.Encoder
-
- getOutboundType() - Method in class org.snf4j.example.websocket.IndexPageDecoder
-
- getOutboundType() - Method in class org.snf4j.websocket.frame.FrameAggregator
-
- getOutboundType() - Method in class org.snf4j.websocket.frame.FrameDecoder
-
- getOutboundType() - Method in class org.snf4j.websocket.frame.FrameEncoder
-
- getOutboundType() - Method in class org.snf4j.websocket.frame.FrameUtf8Validator
-
- getOutboundType() - Method in class org.snf4j.websocket.handshake.HandshakeDecoder
-
- getOutboundType() - Method in class org.snf4j.websocket.handshake.HandshakeEncoder
-
- getOwner() - Method in interface org.snf4j.core.session.ISessionPipeline
-
Returns the session being the owner of this pipeline.
- getParent() - Method in class org.snf4j.core.DatagramSession
-
- getParent() - Method in class org.snf4j.core.SctpMultiSession
-
- getParent() - Method in interface org.snf4j.core.session.IDatagramSession
-
- getParent() - Method in interface org.snf4j.core.session.ISctpMultiSession
-
- getParent() - Method in interface org.snf4j.core.session.ISctpSession
-
- getParent() - Method in interface org.snf4j.core.session.ISession
-
Gets the parent session.
- getParent() - Method in interface org.snf4j.core.session.IStreamSession
-
- getParent() - Method in class org.snf4j.core.StreamSession
-
- getParentPool() - Method in class org.snf4j.core.SelectorLoop
-
Gets the selector loop pool that owns this selector loop.
- getPayload() - Method in class org.snf4j.websocket.frame.AggregatedBinaryFrame
-
- getPayload() - Method in class org.snf4j.websocket.frame.AggregatedTextFrame
-
- getPayload() - Method in class org.snf4j.websocket.frame.Frame
-
Returns the payload data in this frame.
- getPayload() - Method in interface org.snf4j.websocket.frame.IAggregatedFrame
-
Returns the aggregated payload data from all payload data fragments already
stored in this frame.
- getPayloadLength() - Method in class org.snf4j.websocket.frame.AggregatedBinaryFrame
-
- getPayloadLength() - Method in class org.snf4j.websocket.frame.AggregatedTextFrame
-
- getPayloadLength() - Method in class org.snf4j.websocket.frame.Frame
-
Return the length of the payload data in this frame.
- getPayloadLength() - Method in interface org.snf4j.websocket.frame.IAggregatedFrame
-
Returns the total length of all payload data fragments already stored in this frame.
- getPipeline() - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- getPipeline() - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Returns the codec pipeline that is associated with this codec executor.
- getPipeline() - Method in interface org.snf4j.core.session.IStreamSession
-
Gets the pipeline of stream-oriented sessions currently associated with this
session.
- getPipeline() - Method in class org.snf4j.core.StreamSession
-
- getPool() - Method in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
Gets an array of all selector loops created in this pool.
- getPool() - Method in class org.snf4j.core.SelectorLoop
-
Gets the pool that is used by this selector loop to retrieve selector
loops for accepted channels.
- getPort() - Method in interface org.snf4j.core.proxy.ISocksReply
-
Returns the port in the received reply.
- getReadBytes() - Method in interface org.snf4j.core.session.ISession
-
Gets the total number of bytes which were read from this session.
- getReadBytesThroughput() - Method in interface org.snf4j.core.session.ISession
-
Gets the number of read bytes per second.
- getReadyFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns the future that can be use to wait for the completion of the
session's ready phase.
- getReadyFuture() - Method in interface org.snf4j.core.session.ISession
-
Gets the future that can be use to wait for the completion of the ready
phase.
- getReadyFuture() - Method in class org.snf4j.websocket.SSLWebSocketSession
-
Gets the future that can be use to wait for the completion of the Web Socket
handshake phase.
- getReadyFuture() - Method in class org.snf4j.websocket.WebSocketSession
-
Gets the future that can be use to wait for the completion of the Web Socket
handshake phase.
- getReason() - Method in class org.snf4j.websocket.frame.CloseFrame
-
Returns the closing reason text in this frame.
- getReason() - Method in class org.snf4j.websocket.handshake.HandshakeResponse
-
Return the reason text of the HTTP response
- getReduceCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of re-allocations that have been performed by
the
reduce
method in
the associated allocator.
- getReleasedCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of buffers that have been released by the associated
allocator.
- getReleasingCount() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
Gets the total number of buffers that have been requested for releasing by the
associated allocator.
- getRemoteAddress() - Method in class org.snf4j.core.DatagramSession
-
- getRemoteAddress() - Method in class org.snf4j.core.SctpMultiSession
-
- getRemoteAddress() - Method in interface org.snf4j.core.session.ISctpSession
-
Returns one of the remote addresses to which this session is connected.
- getRemoteAddress() - Method in interface org.snf4j.core.session.ISession
-
Returns the remote address to which this session is connected.
- getRemoteAddress() - Method in class org.snf4j.core.StreamSession
-
- getRemoteAddresses() - Method in class org.snf4j.core.SctpMultiSession
-
- getRemoteAddresses(Association) - Method in class org.snf4j.core.SctpMultiSession
-
- getRemoteAddresses(Association) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Returns all of the remote addresses to which the given association on the
SCTP multi-channel's socket associated with this session.
- getRemoteAddresses() - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Returns all of the remote addresses to which the open associations on the
SCTP multi-channel associated with this session is connected.
- getRemoteAddresses() - Method in interface org.snf4j.core.session.ISctpSession
-
Returns all of the remote addresses to which the SCTP channel associated with
this session is connected.
- getReplies() - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
Returns replies sent from the SOCKS server.
- getRequestOrigin() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Determines the value of the Origin header field in the client Web Socket
handshake request.
- getRequestOrigin() - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines the value of the Origin header field in the client Web Socket
handshake request.
- getRequestUri() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
- getRequestUri() - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines the request URI (the server endpoint) in the client Web Socket
handshake request.
- getRsvBits() - Method in class org.snf4j.websocket.frame.Frame
-
Returns the reserved bits for extensions or future versions.
- getSession() - Method in interface org.snf4j.core.engine.IEngine
-
Returns an object representing a session in use in an
IEngine
implementation.
- getSession() - Method in class org.snf4j.core.future.AbstractFuture
-
- getSession() - Method in interface org.snf4j.core.future.IFuture
-
Returns the session this future is associated with.
- getSession() - Method in class org.snf4j.core.handler.AbstractDatagramHandler
-
- getSession() - Method in class org.snf4j.core.handler.AbstractHandler
-
- getSession() - Method in class org.snf4j.core.handler.AbstractSctpHandler
-
- getSession() - Method in class org.snf4j.core.handler.AbstractStreamHandler
-
- getSession() - Method in interface org.snf4j.core.handler.IDatagramHandler
-
Returns the datagram-oriented session that is associated with this
handler.
- getSession() - Method in interface org.snf4j.core.handler.IHandler
-
Returns the session that is associated with this handler.
- getSession() - Method in interface org.snf4j.core.handler.ISctpHandler
-
Returns the SCTP session that is associated with this
handler.
- getSession() - Method in interface org.snf4j.core.handler.IStreamHandler
-
Returns the stream-oriented session that is associated with this
handler.
- getSession() - Method in class org.snf4j.example.engine.AbstractEngine
-
- getSessions() - Method in class org.snf4j.core.DatagramServerHandler
-
Returns sessions currently handled by this handler.
- getSize() - Method in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
Gets the current size of this pool.
- getSSLEngineBuilder(boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Returns the SSLEngine builder configured for specified handshaking mode.
- getState() - Method in interface org.snf4j.core.session.ISession
-
Gets the current state of this session.
- getState() - Method in class org.snf4j.core.StreamSession
-
- getStatus() - Method in class org.snf4j.core.engine.EngineResult
-
- getStatus() - Method in interface org.snf4j.core.engine.IEngineResult
-
Gets the overall result of the
IEngine
calls.
- getStatus() - Method in interface org.snf4j.core.proxy.ISocksReply
-
Returns the status code in the received reply.
- getStatus() - Method in class org.snf4j.websocket.frame.CloseFrame
-
Returns the closing status code in this frame.
- getStatus() - Method in class org.snf4j.websocket.handshake.HandshakeResponse
-
Return the status code of the HTTP response
- getStatusDescription() - Method in interface org.snf4j.core.proxy.ISocksReply
-
Returns the description of the status in the received reply.
- getSubProtocol() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- getSubProtocol() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Return the negotiated sub-protocol.
- getSuccessfulFuture() - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns a successful future.
- getSupportedExtensions() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Determines the supported extensions for both the server and client
Web Socket sessions.
- getSupportedExtensions() - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines the supported extensions for both the server and client
Web Socket sessions.
- getSupportedSubProtocols() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Determines the names of supported subprotocols for both the server and client
Web Socket sessions.
- getSupportedSubProtocols() - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines the names of supported subprotocols for both the server and client
Web Socket sessions.
- getText() - Method in class org.snf4j.websocket.frame.ContinuationFrame
-
Returns the text data in this frame.
- getText() - Method in class org.snf4j.websocket.frame.TextFrame
-
Returns the text data in this frame.
- getThroughputCalculationInterval() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Gets the interval in milliseconds between each throughput calculation.
- getThroughputCalculationInterval() - Method in interface org.snf4j.core.session.ISessionConfig
-
Gets the interval in milliseconds between each throughput calculation.
- getTimeoutModel() - Method in class org.snf4j.core.factory.DefaultSessionStructureFactory
-
Returns a timeout model that will be used by engine-driven datagram sessions
to retransmit lost packets.
- getTimeoutModel() - Method in interface org.snf4j.core.factory.ISessionStructureFactory
-
Returns a timeout model that will be used by engine-driven datagram sessions
to retransmit lost packets.
- getTimer() - Method in class org.snf4j.core.factory.DefaultSessionStructureFactory
-
Returns a timer implementation that will be used by the session timer to
schedule events and tasks.
- getTimer() - Method in interface org.snf4j.core.factory.ISessionStructureFactory
-
Returns a timer implementation that will be used by the session timer to
schedule events and tasks.
- getTimer() - Method in interface org.snf4j.core.session.ISession
-
Gets the session timer associated with this session.
- getTimer() - Method in class org.snf4j.example.dtls.SessionStructureFactory
-
- getUri() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- getUri() - Method in class org.snf4j.websocket.handshake.HandshakeRequest
-
Returns the request URI of the GET method in the HTTP request frame.
- getUri() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
The URI identifying the Web Socket connection for both the client and
server sessions.
- getValue(String) - Method in class org.snf4j.websocket.handshake.HandshakeFrame
-
Returns the value of the header field identified by the specified name.
- getWebSocketHandler() - Method in interface org.snf4j.websocket.IWebSocketSession
-
Returns the Web Socket handler associated with this session
- getWebSocketHandler() - Method in class org.snf4j.websocket.SSLWebSocketSession
-
- getWebSocketHandler() - Method in class org.snf4j.websocket.WebSocketSession
-
- getWriteFuture(long) - Method in class org.snf4j.core.future.SessionFuturesController
-
Returns a future that can be used to wait for the completion of a write
operation.
- getWrittenBytes() - Method in interface org.snf4j.core.session.ISession
-
Gets the total number of bytes which were written to this session.
- getWrittenBytesThroughput() - Method in interface org.snf4j.core.session.ISession
-
Gets the number of written bytes per second.
- GOING_AWAY - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Indicates (value 1001) that an endpoint is "going away", such as a server
going down or a browser having navigated away from a page.
- GroupIdentifier - Enum in org.snf4j.websocket.extensions
-
An enum
that represents predefined identifiers for extension groups.
- GzipDecoder - Class in org.snf4j.core.codec.zip
-
Decompresses an array of bytes using the
gzip compression as
specified in
RFC 1952.
- GzipDecoder() - Constructor for class org.snf4j.core.codec.zip.GzipDecoder
-
Creates a new gzip decoder.
- GzipEncoder - Class in org.snf4j.core.codec.zip
-
Compresses an array of bytes using the
gzip compression as
specified in
RFC 1952.
- GzipEncoder() - Constructor for class org.snf4j.core.codec.zip.GzipEncoder
-
Creates a new gzip encoder with the default compression level (6
).
- GzipEncoder(int) - Constructor for class org.snf4j.core.codec.zip.GzipEncoder
-
Creates a new gzip encoder with the specified compression level.
- IAbortableFuture<V> - Interface in org.snf4j.core.future
-
A future that can be aborted (cancelled or failed) at any time.
- IAggregatedFrame - Interface in org.snf4j.websocket.frame
-
An aggregated Web Socket frame.
- IAllocatingHandler - Interface in org.snf4j.core.handler
-
A handler which allocator should be shared with the associated session.
- IBaseDecoder<I,O> - Interface in org.snf4j.core.codec
-
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.
- IByteBufferAllocator - Interface in org.snf4j.core.allocator
-
Allocates and manages
ByteBuffer
s used by the sessions for I/O
operations.
- IByteBufferHolder - Interface in org.snf4j.core
-
A byte buffer holder that represents a portion of bytes to be written in
one chunk for stream-oriented sessions or a datagram for datagram-oriented
sessions.
- ICloseControllingException - Interface in org.snf4j.core
-
An exception that can change the default (quickClose) close operation.
- ICloseControllingException.CloseType - Enum in org.snf4j.core
-
Type of the close operation.
- ICodec<I,O> - Interface in org.snf4j.core.codec
-
The base interface
for the encoders and decoders.
- ICodecExecutor - Interface in org.snf4j.core.codec
-
An executor responsible for encoding and decoding outbound and inbound data
for the associated session.
- ICodecPipeline - Interface in org.snf4j.core.codec
-
A manager that manages encoders and decoders in the pipeline that is
associated with the
ICodecExecutor
.
- IDatagramHandler - Interface in org.snf4j.core.handler
-
Extends the
IHandler
interface to cover datagram-oriented functionalities.
- IDatagramHandlerFactory - Interface in org.snf4j.core.factory
-
Factory used to create a datagram handler that will be associated with
a datagram-oriented session created by
DatagramServerHandler
.
- IDatagramReader - Interface in org.snf4j.core
-
A reader that reads data directly from a datagram channel.
- IDatagramSession - Interface in org.snf4j.core.session
-
Extends the
ISession
interface to cover datagram-oriented functionalities.
- IDecoder<I,O> - Interface in org.snf4j.core.codec
-
A decoder that can be managed by a codec pipeline implementing the
ICodecPipeline
interface.
- IDefaultAllocatorMetricCollector - Interface in org.snf4j.core.allocator
-
- IDelegatingFuture<V> - Interface in org.snf4j.core.future
-
A future which state and result can be represented by other delegate future.
- IDelegatingSelector - Interface in org.snf4j.core
-
A selector wrapping an original implementation of the abstract
Selector
class.
- IdentifiableObject - Class in org.snf4j.core
-
Base class for objects that are identified by an id and their name.
- IdentifiableObject(String, long, String) - Constructor for class org.snf4j.core.IdentifiableObject
-
Constructs an identifiable object with the specified prefix, id and name.
- IEncoder<I,O> - Interface in org.snf4j.core.codec
-
A encoder that can be managed by a codec pipeline implementing the
ICodecPipeline
interface.
- IEngine - Interface in org.snf4j.core.engine
-
An
interface
allowing implementation of customizable protocol
engines that can be used to drive
EngineStreamSession
.
- IEngineDatagramSession - Interface in org.snf4j.core.session
-
A engine-driven session which represents connection between datagram-oriented
end-points.
- IEngineResult - Interface in org.snf4j.core.engine
-
An
interface
encapsulating the result state produced by the
IEngine
calls.
- IEngineSession - Interface in org.snf4j.core.session
-
A engine-driven session which represents connection between end-points
regardless of transport type.
- IEngineStreamSession - Interface in org.snf4j.core.session
-
A engine-driven session which represents connection between stream-oriented
end-points.
- IEventDrivenCodec - Interface in org.snf4j.core.codec
-
A codec that can be driven by session events.
- IExceptionLogger - Interface in org.snf4j.core.logger
-
Additional logger interface that is used by the API to log messages for
caught exceptions.
- IExtension - Interface in org.snf4j.websocket.extensions
-
A Web Socket extension.
- IFastThreadLocalThread - Interface in org.snf4j.core.thread
-
An interface for thread supporting fast thread-local variables.
- IFuture<V> - Interface in org.snf4j.core.future
-
A future that represents the result of an asynchronous operation related with
the session.
- IFutureExecutor - Interface in org.snf4j.core.future
-
An object executing an operation associated with a future.
- IGNORE_NO_SESSION_TIMER_EXCEPTION - Static variable in class org.snf4j.core.Constants
-
System property specifying if it will be possible to create engine driven
datagram-oriented sessions without a session timer.
- ignoreHostHeaderField() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Determines if the server session associated with this configuration object
should ignore missing the Host header field in the received Web Socket
handshake request.
- ignoreHostHeaderField() - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Determines if the server session associated with this configuration object
should ignore missing the Host header field in the received Web Socket
handshake request.
- ignorePossiblyIncompleteDatagrams() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Determines if possibly incomplete datagrams should be ignored.
- ignorePossiblyIncompleteDatagrams() - Method in interface org.snf4j.core.session.ISessionConfig
-
Determines if possibly incomplete datagrams should be ignored.
- IHandler - Interface in org.snf4j.core.handler
-
Handles events and I/O notifications sent from the associated session.
- IHandshaker - Interface in org.snf4j.websocket.handshake
-
A handshaker responsible for processing of the Web Socket handshake phase.
- IllegalSessionStateException - Exception in org.snf4j.core.session
-
Unchecked exception thrown when an attempt is made to perform an operation
when a session is in an illegal state.
- IllegalSessionStateException(SessionState) - Constructor for exception org.snf4j.core.session.IllegalSessionStateException
-
Constructs an instance of this exception.
- ILogger - Interface in org.snf4j.core.logger
-
Logger interface that is used by the API to log messages.
- ILoggerFactory - Interface in org.snf4j.core.logger
-
Factory interface for loggers used by the API.
- ImmutableSctpMessageInfo - Class in org.snf4j.core
-
An immutable implementation of the com.sun.nio.sctp.MessageInfo
.
- inboundDone - Variable in class org.snf4j.example.engine.AbstractEngine
-
- incident(SessionIncident, Throwable) - Method in class org.snf4j.core.DatagramServerHandler
-
- incident(SessionIncident, Throwable) - Method in class org.snf4j.core.handler.AbstractHandler
-
- incident(SessionIncident, Throwable) - Method in interface org.snf4j.core.handler.IHandler
-
Called to notify about an incident that occurred during processing of I/O
or protocol related operations.
- incident(SessionIncident, Throwable) - Method in class org.snf4j.example.dtls.SessionHandler
-
- incident(SessionIncident, Throwable) - Method in class org.snf4j.example.echo.EchoClientHandler
-
- incident(SessionIncident, Throwable) - Method in class org.snf4j.example.echo.EchoServerHandler
-
- indexOf(Object) - Method in class org.snf4j.core.ByteBufferHolder
-
- IndexPageDecoder - Class in org.snf4j.example.websocket
-
- IndexPageDecoder(String) - Constructor for class org.snf4j.example.websocket.IndexPageDecoder
-
- inExecutor() - Method in interface org.snf4j.core.future.IFutureExecutor
-
Tells if the current thread is the thread this executor uses to complete
an operation associated with a future.
- inf(String) - Static method in class org.snf4j.example.echo.Logger
-
- inflateBound(int) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Returns upper bound on the decompressed size.
- inflater - Variable in class org.snf4j.core.codec.zip.ZlibDecoder
-
The decompressor used by this class to decompress data.
- info(ILogger, String, Object...) - Method in class org.snf4j.core.logger.DefaultExceptionLogger
-
- info(ILogger, String, Object...) - Method in interface org.snf4j.core.logger.IExceptionLogger
-
Logs a message at the INFO level with varying number of arguments.
- info(String) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the INFO level.
- info(String, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the INFO level with one argument.
- info(String, Object, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the INFO level with two arguments.
- info(String, Object...) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the INFO level with three or more arguments.
- info(String) - Method in class org.snf4j.core.logger.NopLogger
-
- info(String, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- info(String, Object, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- info(String, Object...) - Method in class org.snf4j.core.logger.NopLogger
-
- info(String) - Static method in class org.snf4j.example.file.Logger
-
- init() - Method in interface org.snf4j.core.engine.IEngine
-
Signals that an
IEngine
implementation can initialize, if
required, its internal state (e.g.
- init() - Method in class org.snf4j.example.engine.AbstractEngine
-
- INSATNCE - Static variable in class org.snf4j.core.session.ssl.DefaultCipherProtocolFilters
-
The instance of this class
- INSATNCE - Static variable in class org.snf4j.core.session.ssl.SupportedCipherProtocolFilters
-
The instance of this class
- INSTANCE - Static variable in class org.snf4j.core.session.UnsupportedSessionTimer
-
A constant holding the instance of the unsupported session timer.
- InvalidExtensionException - Exception in org.snf4j.websocket.extensions
-
Indicates problems with decoding or validation of Web Socket extensions.
- InvalidExtensionException() - Constructor for exception org.snf4j.websocket.extensions.InvalidExtensionException
-
Constructs a new exception without the detail message.
- InvalidExtensionException(String) - Constructor for exception org.snf4j.websocket.extensions.InvalidExtensionException
-
Constructs a new exception with the specified detail message.
- InvalidExtensionException(String, Throwable) - Constructor for exception org.snf4j.websocket.extensions.InvalidExtensionException
-
Constructs a new exception with the specified detail message and cause.
- InvalidExtensionException(Throwable) - Constructor for exception org.snf4j.websocket.extensions.InvalidExtensionException
-
Constructs a new exception with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- InvalidFrameException - Exception in org.snf4j.websocket.frame
-
Indicates problems with decoding or validation of Web Socket frames.
- InvalidFrameException(String, Throwable, boolean) - Constructor for exception org.snf4j.websocket.frame.InvalidFrameException
-
Constructs a new exception with the specified detail message, cause and
session closing type.
- InvalidFrameException(Throwable, boolean) - Constructor for exception org.snf4j.websocket.frame.InvalidFrameException
-
Constructs a new exception with the specified cause and session closing type.
- InvalidFrameException(String, Throwable) - Constructor for exception org.snf4j.websocket.frame.InvalidFrameException
-
Constructs a new exception with the specified detail message, cause and
with the gentle closing type.
- InvalidFrameException(String) - Constructor for exception org.snf4j.websocket.frame.InvalidFrameException
-
Constructs a new exception with the specified detail message and with the
gentle closing type.
- InvalidFrameException(Throwable) - Constructor for exception org.snf4j.websocket.frame.InvalidFrameException
-
Constructs a new exception with the specified cause and with the gentle
closing type.
- InvalidFrameException() - Constructor for exception org.snf4j.websocket.frame.InvalidFrameException
-
Constructs a new exception without the detail message and with the gentle
closing type.
- InvalidHandshakeException - Exception in org.snf4j.websocket.handshake
-
Indicates problems with decoding or validation of Web Socket handshake frames.
- InvalidHandshakeException(String, Throwable, boolean) - Constructor for exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
Constructs a new exception with the specified detail message, cause and
session closing type.
- InvalidHandshakeException(Throwable, boolean) - Constructor for exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
Constructs a new exception with the specified cause and session closing type.
- InvalidHandshakeException(String, Throwable) - Constructor for exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
Constructs a new exception with the specified detail message, cause and
with the default closing type.
- InvalidHandshakeException(String) - Constructor for exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
Constructs a new exception with the specified detail message and with the
default closing type.
- InvalidHandshakeException() - Constructor for exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
Constructs a new exception without the detail message and with the default
closing type.
- InvalidHandshakeException(Throwable) - Constructor for exception org.snf4j.websocket.handshake.InvalidHandshakeException
-
Constructs a new exception with the specified cause and with the default
closing type.
- ipv4ToBytes(CharSequence, byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a text representation of an IPv4 address into an array of bytes.
- ipv4ToBytes(CharSequence) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a text representation of an IPv4 address into an array of bytes.
- ipv4ToInt(CharSequence) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a text representation of an IPv4 address into an int
value.
- ipv4ToString(byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a text representation of an IPv4 address.
- ipv4ToString(byte[]) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a text representation of an IPv4 address.
- ipv4ToString(int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an int
value into a text representation of an IPv4 address.
- ipv6ToBytes(CharSequence, byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a text representation of an IPv6 address into an array of bytes.
- ipv6ToBytes(CharSequence) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a text representation of an IPv6 address into an array of bytes.
- ipv6ToString(byte[], int, boolean) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a compressed text representation of an IPv6
address.
- ipv6ToString(byte[], int, boolean, boolean) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a text representation of an IPv6 address.
- isCancelled() - Method in class org.snf4j.core.future.AbstractFuture
-
Tells if the operation associated with this future was cancelled
before it completed normally.
- isClientMode() - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Tells if this configuration is for a client or server session.
- isClientMode() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- isClientMode() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Tells the mode (server/client) this handshaker is operating
- isClose(byte[]) - Static method in class org.snf4j.example.engine.Packet
-
- isClosing() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- isClosing() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Tells if this handshake is closing without successfully finishing the
handshake phase.
- isClosingUnwrap(byte[]) - Method in class org.snf4j.example.engine.BasicEngine
-
- isClosingUnwrap(byte[]) - Method in class org.snf4j.example.engine.CloseableEngine
-
- isControl() - Method in enum org.snf4j.websocket.frame.Opcode
-
Tells if this Opcode is for a control frame.
- ISctpHandler - Interface in org.snf4j.core.handler
-
Extends the
IHandler
interface to cover the SCTP functionalities.
- ISctpMultiSession - Interface in org.snf4j.core.session
-
Extends the
ISctpSession
interface to cover SCTP functionalities
related to the SCTP multi sessions.
- ISctpReader - Interface in org.snf4j.core
-
A reader that reads data directly from an SCTP channel.
- ISctpSession - Interface in org.snf4j.core.session
-
Extends the
ISession
interface to cover SCTP functionalities.
- ISctpSessionConfig - Interface in org.snf4j.core.session
-
A configuration for associated SCTP session.
- ISctpSessionFactory - Interface in org.snf4j.core.factory
-
Factory used to create an SCTP session for a newly accepted
connection.
- isDataCopyingOptimized() - Method in interface org.snf4j.core.session.ISession
-
Tells if the processing of data is optimized to reduce data copying between
byte buffers.
- isDebugEnabled() - Method in interface org.snf4j.core.logger.ILogger
-
Tells if the logger is enabled for the DEBUG level.
- isDebugEnabled() - Method in class org.snf4j.core.logger.NopLogger
-
- isDestroyed() - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Tells if sensitive information associated with this builder is destroyed
- isDone() - Method in class org.snf4j.core.future.AbstractFuture
-
Tells if if the operation associated with this future completed.
- isDone() - Method in class org.snf4j.core.future.CompletedFuture
-
Tells that this future is completed
- ISelectorLoopController - Interface in org.snf4j.core
-
A controller that determines behavior of the associated selector loop.
- ISelectorLoopPool - Interface in org.snf4j.core.pool
-
A base pool for the selector loops
- ISelectorLoopStructureFactory - Interface in org.snf4j.core.factory
-
Factory used to configure the internal structure of the selector loop.
- isEmpty() - Method in class org.snf4j.core.ByteBufferHolder
-
- ISession - Interface in org.snf4j.core.session
-
A session which represents connection between end-points regardless of transport type.
- ISessionConfig - Interface in org.snf4j.core.session
-
A configuration for associated session.
- ISessionPipeline<T extends ISession> - Interface in org.snf4j.core.session
-
A manager that manages sessions in the pipeline that can be associated with a
session.
- ISessionStructureFactory - Interface in org.snf4j.core.factory
-
Factory used to configure the internal structure of the created session
- ISessionTimer - Interface in org.snf4j.core.session
-
A timer that can be associated with a session.
- isFailed() - Method in class org.snf4j.core.future.AbstractFuture
-
- isFailed() - Method in interface org.snf4j.core.future.IFuture
-
Tells if the operation associated with this future was completed
with a failure.
- isFinalFragment() - Method in class org.snf4j.websocket.frame.Frame
-
Tells if this frame is the final fragment in a message.
- isFinished() - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Tells if the decompression has been finished.
- isFinished() - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Tells if the compression has been finished.
- isFinished() - Method in class org.snf4j.websocket.handshake.Handshaker
-
- isFinished() - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Tells if this handshake has successfully finished the handshake phase.
- isForAllThreads() - Method in class org.snf4j.core.thread.FastThreadLocal
-
- isForClient() - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Tells if the builder if for a client-side
SSLContext
.
- isForClient() - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Tells if the builder if for a client-side
SSLEngine
.
- isForServer() - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Tells if the builder if for a server-side
SSLContext
.
- isForServer() - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Tells if the builder if for a server-side
SSLEngine
.
- isInboundDone() - Method in interface org.snf4j.core.engine.IEngine
-
- isInboundDone() - Method in class org.snf4j.example.engine.AbstractEngine
-
- isMessage() - Method in class org.snf4j.core.ByteBufferHolder
-
Tells if this byte buffer holder should be treated as a message or raw bytes
when it is processed thru an encoding pipeline.
- isMessage() - Method in interface org.snf4j.core.IByteBufferHolder
-
Tells if this byte buffer holder should be treated as a message or raw bytes
when it is processed thru an encoding pipeline.
- isMessage() - Method in class org.snf4j.core.SingleByteBufferHolder
-
Tells if this byte buffer holder should be treated as a message or raw bytes
when it is processed thru an encoding pipeline.
- ISocksReply - Interface in org.snf4j.core.proxy
-
Reply information sent from the SOCKS server.
- ISocksReplyListener - Interface in org.snf4j.core.proxy
-
A listener for replies sent from the SOCKS servers.
- isOpen() - Method in interface org.snf4j.core.session.ISession
-
Tells if this session is open.
- isOutboundDone() - Method in interface org.snf4j.core.engine.IEngine
-
- isOutboundDone() - Method in class org.snf4j.example.engine.AbstractEngine
-
- isReadSuspended() - Method in interface org.snf4j.core.session.ISession
-
Tells if read operations are suspended for this session.
- isReleasable() - Method in class org.snf4j.core.allocator.CachingAllocator
-
- isReleasable() - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Tells if an implementation of the allocator supports releasing of no
longer used buffers.
- isReleasable() - Method in interface org.snf4j.core.allocator.IByteBufferAllocator
-
Tells if an implementation of the allocator supports releasing of no
longer used buffers.
- isRsvBit1() - Method in class org.snf4j.websocket.frame.Frame
-
Tells if the reserved bit 1 is set
- isRsvBit2() - Method in class org.snf4j.websocket.frame.Frame
-
Tells if the reserved bit 2 is set
- isRsvBit3() - Method in class org.snf4j.websocket.frame.Frame
-
Tells if the reserved bit 3 is set
- isSuccessful() - Method in class org.snf4j.core.future.AbstractFuture
-
- isSuccessful() - Method in interface org.snf4j.core.future.IFuture
-
Tells if the operation associated with this future was completed
successfully.
- isSuccessful() - Method in interface org.snf4j.core.proxy.ISocksReply
-
Tells if the reply is successful.
- isSupported() - Method in interface org.snf4j.core.session.ISessionTimer
-
Tells if the implementation supports the session timer.
- isSupported() - Method in class org.snf4j.core.session.UnsupportedSessionTimer
-
- isTraceEnabled() - Method in interface org.snf4j.core.logger.ILogger
-
Tells if the logger is enabled for the TRACE level.
- isTraceEnabled() - Method in class org.snf4j.core.logger.NopLogger
-
- IStreamHandler - Interface in org.snf4j.core.handler
-
Extends the
IHandler
interface to cover stream-oriented functionalities.
- IStreamReader - Interface in org.snf4j.core
-
A reader that reads data directly from a stream channel.
- IStreamSession - Interface in org.snf4j.core.session
-
Extends the
ISession
interface to cover stream-oriented functionalities.
- IStreamSessionFactory - Interface in org.snf4j.core.factory
-
Factory used to create a stream-oriented session for a newly accepted
connection.
- isWriteSuspended() - Method in interface org.snf4j.core.session.ISession
-
Tells if write operations are suspended for this session.
- iterator() - Method in class org.snf4j.core.ByteBufferHolder
-
- ITimeoutModel - Interface in org.snf4j.core.timer
-
Interface used to implement models of timing out operations.
- ITimer - Interface in org.snf4j.core.timer
-
A timer that can be used by the default implementation of
ISessionTimer
to provide the scheduling functionality.
- ITimerTask - Interface in org.snf4j.core.timer
-
A timer task object that is associated with scheduled operation initiated by
ITimer
implementation.
- ITwoThresholdFuture<V> - Interface in org.snf4j.core.future
-
An interface
that represents a future which state is determined by two
thresholds.
- IWebSocketHandler - Interface in org.snf4j.websocket
-
Extends the
IStreamHandler
interface to cover the Web Socket functionalities.
- IWebSocketSession - Interface in org.snf4j.websocket
-
Extends the
IStreamSession
interface to cover the Web Socket functionalities.
- IWebSocketSessionConfig - Interface in org.snf4j.websocket
-
A configuration for associated Web Socket session.
- Packet - Class in org.snf4j.example.engine
-
- Packet() - Constructor for class org.snf4j.example.engine.Packet
-
- Packet - Class in org.snf4j.example.heartbeat
-
- PacketDecoder - Class in org.snf4j.example.dtls
-
- PacketDecoder() - Constructor for class org.snf4j.example.dtls.PacketDecoder
-
- PacketDecoder - Class in org.snf4j.example.heartbeat
-
- PacketDecoder() - Constructor for class org.snf4j.example.heartbeat.PacketDecoder
-
- PacketEncoder - Class in org.snf4j.example.dtls
-
- PacketEncoder() - Constructor for class org.snf4j.example.dtls.PacketEncoder
-
- PacketEncoder - Class in org.snf4j.example.heartbeat
-
- PacketEncoder() - Constructor for class org.snf4j.example.heartbeat.PacketEncoder
-
- parse(byte[]) - Static method in class org.snf4j.example.heartbeat.Packet
-
- payload - Variable in class org.snf4j.websocket.frame.Frame
-
Payload data
- PemUtil - Class in org.snf4j.core.util
-
A class with the privacy-enhanced mail (PEM) encoding utility functions.
- PemUtil.Label - Enum in org.snf4j.core.util
-
Predefined label types identifying PEM encoded structures as defined in RFC
7468.
- PERMESSAGE_DEFLATE_DECODER - Static variable in class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
The default key identifying the pre-message deflate decoder
PerMessageDeflateDecoder
in the default codec pipeline created by the
SNF4J framework.
- PERMESSAGE_DEFLATE_ENCODER - Static variable in class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
The default key identifying the pre-message deflate encoder
PerMessageDeflateEncoder
in the default codec pipeline created by the
SNF4J framework.
- PerMessageDeflateDecoder - Class in org.snf4j.websocket.extensions.compress
-
The per-message implementation of deflate decoder (decompressor).
- PerMessageDeflateDecoder(boolean, int) - Constructor for class org.snf4j.websocket.extensions.compress.PerMessageDeflateDecoder
-
Constructs a per-message deflate decoder with specified context takeover
control and minimum upper bound on the decompressed size.
- PerMessageDeflateDecoder(boolean) - Constructor for class org.snf4j.websocket.extensions.compress.PerMessageDeflateDecoder
-
Constructs a per-message deflate decoder with specified context takeover
control.
- PerMessageDeflateEncoder - Class in org.snf4j.websocket.extensions.compress
-
The per-message implementation of deflate encoder (compressor).
- PerMessageDeflateEncoder(int, boolean) - Constructor for class org.snf4j.websocket.extensions.compress.PerMessageDeflateEncoder
-
Constructs a per-message deflate encoder with specified compression level and
the context takeover control.
- PerMessageDeflateExtension - Class in org.snf4j.websocket.extensions.compress
-
The WebSocket Per-Message Compression Extension as described in RFC 7692
- PerMessageDeflateExtension(int, int, PerMessageDeflateExtension.NoContext, PerMessageDeflateExtension.NoContext) - Constructor for class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
Constructs a pre-message deflate extension with specified compression level,
minimum upper bound on the decompressed size and the context takeover control
options for compression/decompression.
- PerMessageDeflateExtension(int, PerMessageDeflateExtension.NoContext, PerMessageDeflateExtension.NoContext) - Constructor for class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
Constructs a pre-message deflate extension with specified compression level
and the context takeover control options for compression/decompression.
- PerMessageDeflateExtension(int) - Constructor for class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
Constructs a pre-message deflate extension with specified compression level
and the
OPTIONAL
context takeover control option for
compression/decompression.
- PerMessageDeflateExtension() - Constructor for class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
Constructs a pre-message deflate extension with default compression level (6)
and the
OPTIONAL
context takeover control option for
compression/decompression.
- PerMessageDeflateExtension.NoContext - Enum in org.snf4j.websocket.extensions.compress
-
The context takeover control options
- PingFrame - Class in org.snf4j.websocket.frame
-
Web Socket ping frame.
- PingFrame(int, byte[]) - Constructor for class org.snf4j.websocket.frame.PingFrame
-
Constructs a Web Socket ping frame.
- PingFrame(byte[]) - Constructor for class org.snf4j.websocket.frame.PingFrame
-
Constructs a Web Socket ping frame with all reserved bits cleared.
- PingFrame() - Constructor for class org.snf4j.websocket.frame.PingFrame
-
Constructs an empty Web Socket ping frame with all reserved bits cleared.
- POLICY_VALIDATION - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Indicates (value 1008) that an endpoint is terminating the connection because
it has received a message that violates its policy.
- PongFrame - Class in org.snf4j.websocket.frame
-
Web Socket pong frame.
- PongFrame(int, byte[]) - Constructor for class org.snf4j.websocket.frame.PongFrame
-
Constructs a Web Socket pong frame.
- PongFrame(byte[]) - Constructor for class org.snf4j.websocket.frame.PongFrame
-
Constructs a Web Socket pong frame with all reserved bits cleared.
- PongFrame() - Constructor for class org.snf4j.websocket.frame.PongFrame
-
Constructs an empty Web Socket pong frame with all reserved bits cleared.
- pool - Variable in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
The backing array for this selector-pool
- portToBytes(int, byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a port number into an array of bytes.
- portToBytes(int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a port number into an array of bytes.
- postFinish(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.GzipDecoder
-
Parses the gzip footer.
- postFinish(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.GzipEncoder
-
Generates the gzip footer.
- postFinish(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Called right after the decompression has been finished.
- postFinish(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Called right after the compression has been finished.
- postInflate(ISession, byte[], int, int) - Method in class org.snf4j.core.codec.zip.GzipDecoder
-
Updates the CRC-32.
- postInflate(ISession, byte[], int, int) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Called right after decompression of a portion of compressed data.
- preDeflate(ISession, byte[], ByteBuffer) - Method in class org.snf4j.core.codec.zip.GzipEncoder
-
Generates the gzip header.
- preDeflate(ISession, byte[], ByteBuffer) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Called right before compression of a portion of uncompressed data.
- preFinish(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.GzipEncoder
-
Generates the gzip header if the compression was finished
without compressing any data.
- preFinish(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Called right before finishing of the compression.
- preInflate(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.GzipDecoder
-
Parses the gzip header.
- preInflate(ISession, ByteBuffer) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Called right before decompression of a portion of compressed data.
- prepareArguments(Object[]) - Method in class org.snf4j.core.logger.DefaultExceptionLogger
-
Prepares an array of arguments that will be passed to the logger
currently used by the API.
- preUnwrap(ByteBuffer, ByteBuffer) - Method in class org.snf4j.example.engine.BasicEngine
-
- preUnwrap(ByteBuffer, ByteBuffer) - Method in class org.snf4j.example.engine.HandshakingEngine
-
- preWrap(ByteBuffer[], ByteBuffer) - Method in class org.snf4j.example.engine.BasicEngine
-
- preWrap(ByteBuffer[], ByteBuffer) - Method in class org.snf4j.example.engine.HandshakingEngine
-
- processAccepted(SelectableChannel) - Method in class org.snf4j.core.DefaultSelectorLoopController
-
Called to determine if the calling selector loop is permitted to process
the accepted channel.
- processAccepted(SelectableChannel) - Method in interface org.snf4j.core.ISelectorLoopController
-
Called to determine if the calling selector loop is permitted to process
the accepted channel.
- processConnection(SelectableChannel) - Method in class org.snf4j.core.DefaultSelectorLoopController
-
Called to determine if the calling selector loop is permitted to process
the connecting channel.
- processConnection(SelectableChannel) - Method in interface org.snf4j.core.ISelectorLoopController
-
Called to determine if the calling selector loop is permitted to process
the connecting channel.
- protocol(String) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures the protocol name of the
SSLContext
to be created by this
builder.
- PROTOCOL_ERROR - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Indicates (value 1002) that an endpoint is terminating the connection due to
a protocol error.
- ProtocolFilter - Interface in org.snf4j.core.session.ssl
-
A filter providing means for selecting protocols enabled for use on the
SSLEngine
based upon the requested, recommended and supported
protocols.
- protocolFilter(ProtocolFilter) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures a filter for protocol versions to enable, or null
to use
the default filter.
- protocolFilter(ProtocolFilter) - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Configures a filter for protocol versions to enable, or null
to use
the default filter.
- protocols(String...) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures protocol versions to enable, or null
to enable the
recommended protocol versions.
- protocols(String...) - Method in class org.snf4j.core.session.ssl.SSLEngineBuilder
-
Configures protocol versions to enable, or null
to enable the
recommended protocol versions.
- provider(Provider) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures the provide of the
SSLContext
to be created by this
builder.
- providerName(String) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures the provider name of the
SSLContext
to be created by this
builder.
- ProxyConnectionException - Exception in org.snf4j.core.proxy
-
Indicates problems with a connection to a proxy server.
- ProxyConnectionException() - Constructor for exception org.snf4j.core.proxy.ProxyConnectionException
-
Constructs a new exception without the detail message.
- ProxyConnectionException(String) - Constructor for exception org.snf4j.core.proxy.ProxyConnectionException
-
Constructs a new exception with the specified detail message.
- ProxyConnectionException(String, Throwable) - Constructor for exception org.snf4j.core.proxy.ProxyConnectionException
-
Constructs a new exception with the specified detail message and cause.
- ProxyConnectionException(Throwable) - Constructor for exception org.snf4j.core.proxy.ProxyConnectionException
-
Constructs a new exception with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- ProxyConnectionTimeoutException - Exception in org.snf4j.core.proxy
-
Indicates a timed out connection to a proxy server.
- ProxyConnectionTimeoutException(String) - Constructor for exception org.snf4j.core.proxy.ProxyConnectionTimeoutException
-
Constructs a new exception with the specified detail message.
- purge() - Method in class org.snf4j.core.allocator.CachingAllocator
-
Purges all caches used by this allocator.
- purge() - Method in class org.snf4j.core.allocator.ThreadLocalCachingAllocator
-
Purges all caches used by this allocator for the current thread.
- read(byte[]) - Method in class org.snf4j.core.DatagramServerHandler
-
- read(ByteBuffer) - Method in class org.snf4j.core.DatagramServerHandler
-
- read(Object) - Method in class org.snf4j.core.DatagramServerHandler
-
- read(SocketAddress, byte[]) - Method in class org.snf4j.core.DatagramServerHandler
-
- read(SocketAddress, ByteBuffer) - Method in class org.snf4j.core.DatagramServerHandler
-
- read(SocketAddress, Object) - Method in class org.snf4j.core.DatagramServerHandler
-
- read(SocketAddress, byte[]) - Method in class org.snf4j.core.handler.AbstractDatagramHandler
-
Called when a new datagram was received from a remote end that is identified
by the given remote address.
- read(SocketAddress, ByteBuffer) - Method in class org.snf4j.core.handler.AbstractDatagramHandler
-
Called when a new datagram was received from a remote end that is identified
by the given remote address.
- read(byte[]) - Method in class org.snf4j.core.handler.AbstractHandler
-
Called when new bytes were read from the input buffer.
- read(ByteBuffer) - Method in class org.snf4j.core.handler.AbstractHandler
-
Called when new bytes were read from the input buffer.
- read(byte[], MessageInfo) - Method in class org.snf4j.core.handler.AbstractSctpHandler
-
- read(ByteBuffer, MessageInfo) - Method in class org.snf4j.core.handler.AbstractSctpHandler
-
- read(Object) - Method in class org.snf4j.core.handler.AbstractSctpHandler
-
Not used.
- read(SocketAddress, byte[]) - Method in interface org.snf4j.core.handler.IDatagramHandler
-
Called when a new datagram was received from a remote end that is identified
by the given remote address.
- read(SocketAddress, ByteBuffer) - Method in interface org.snf4j.core.handler.IDatagramHandler
-
Called when a new datagram was received from a remote end that is identified
by the given remote address.
- read(SocketAddress, Object) - Method in interface org.snf4j.core.handler.IDatagramHandler
-
Called when a new message was received and decoded from a remote end
that is identified by the given remote address.
- read(byte[]) - Method in interface org.snf4j.core.handler.IHandler
-
Called when new bytes were read from the input buffer.
- read(ByteBuffer) - Method in interface org.snf4j.core.handler.IHandler
-
Called when new bytes were read from the input buffer.
- read(Object) - Method in interface org.snf4j.core.handler.IHandler
-
Called when a new message was read and decoded from the input buffer.
- read(byte[]) - Method in interface org.snf4j.core.handler.ISctpHandler
-
Not used.
- read(ByteBuffer) - Method in interface org.snf4j.core.handler.ISctpHandler
-
Not used.
- read(Object) - Method in interface org.snf4j.core.handler.ISctpHandler
-
Not used.
- read(byte[], MessageInfo) - Method in interface org.snf4j.core.handler.ISctpHandler
-
Called when a new message was received from the remote end.
- read(ByteBuffer, MessageInfo) - Method in interface org.snf4j.core.handler.ISctpHandler
-
Called when a new message was received from the remote end.
- read(Object, MessageInfo) - Method in interface org.snf4j.core.handler.ISctpHandler
-
Called when a new message was received and decoded from the input buffer.
- read(byte[]) - Method in interface org.snf4j.core.IDatagramReader
-
Called when a new datagram was received from the remote end.
- read(ByteBuffer) - Method in interface org.snf4j.core.IDatagramReader
-
Called when a new datagram was received from the remote end.
- read(SocketAddress, byte[]) - Method in interface org.snf4j.core.IDatagramReader
-
Called when a new datagram was received from a remote end that is
identified by the given remote address.
- read(SocketAddress, ByteBuffer) - Method in interface org.snf4j.core.IDatagramReader
-
Called when a new datagram was received from a remote end that is identified
by the given remote address.
- read(byte[], MessageInfo) - Method in interface org.snf4j.core.ISctpReader
-
Called when a new message was received from the remote end.
- read(ByteBuffer, MessageInfo) - Method in interface org.snf4j.core.ISctpReader
-
Called when a new message was received from the remote end.
- read(byte[]) - Method in interface org.snf4j.core.IStreamReader
-
Called when new bytes were read from the input buffer.
- read(ByteBuffer) - Method in interface org.snf4j.core.IStreamReader
-
Called when new bytes were read from the input buffer.
- read(ByteBuffer) - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
- read(byte[]) - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
- read(Object) - Method in class org.snf4j.core.proxy.AbstractSocksProxyHandler
-
- read(byte[]) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
- read(ByteBuffer) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
- read(Object) - Method in class org.snf4j.core.proxy.HttpProxyHandler
-
- read(String, byte[]) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the specified PEM encoded data and converts it into a list of DERs.
- read(String, byte[], int, int) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the specified PEM encoded data and converts it into a list of DERs.
- read(PemUtil.Label, byte[]) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the specified PEM encoded data and converts it into a list of DERs.
- read(PemUtil.Label, byte[], int, int) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the specified PEM encoded data and converts it into a list of DERs.
- read(String, InputStream) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the PEM encoded data from the specified input stream and converts it
into a list of DERs.
- read(PemUtil.Label, InputStream) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the PEM encoded data from the specified input stream and converts it
into a list of DERs.
- read(String, File) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the PEM encoded data from the specified file and converts it into a
list of DERs.
- read(PemUtil.Label, File) - Static method in class org.snf4j.core.util.PemUtil
-
Reads the PEM encoded data from the specified file and converts it into a
list of DERs.
- read(Object) - Method in class org.snf4j.example.chat.ChatClientHandler
-
- read(Object) - Method in class org.snf4j.example.chat.ChatServerHandler
-
- read(Object) - Method in class org.snf4j.example.discarding.DiscardingClientHandler
-
- read(Object) - Method in class org.snf4j.example.discarding.DiscardingServerHandler
-
- read(SocketAddress, Object) - Method in class org.snf4j.example.dtls.SessionHandler
-
- read(Object) - Method in class org.snf4j.example.dtls.SessionHandler
-
- read(ByteBuffer) - Method in class org.snf4j.example.echo.EchoClientHandler
-
- read(Object) - Method in class org.snf4j.example.echo.EchoClientHandler
-
- read(Object) - Method in class org.snf4j.example.echo.EchoServerHandler
-
- read(Object) - Method in class org.snf4j.example.engine.EngineClientHandler
-
- read(Object) - Method in class org.snf4j.example.engine.EngineServerHandler
-
- read(Object) - Method in class org.snf4j.example.file.FileClientHandler
-
- read(byte[]) - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- read(SocketAddress, byte[]) - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- read(Object) - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- read(SocketAddress, Object) - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- read(Object, MessageInfo) - Method in class org.snf4j.example.sctp.SctpClientHandler
-
- read(Object, MessageInfo) - Method in class org.snf4j.example.sctp.SctpServerHandler
-
- read(Object) - Method in class org.snf4j.example.websocket.WebSocketClientHandler
-
- read(Object) - Method in class org.snf4j.example.websocket.WebSocketServerHandler
-
- reduce(ByteBuffer, int) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
Tries to reduce the capacity of the buffer based on its content.
- reduce() - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- reduce(ByteBuffer, int) - Method in interface org.snf4j.core.allocator.IByteBufferAllocator
-
Tries to reduce the capacity of the buffer based on its content.
- reduce() - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when allocation was performed as a result of calling
the
reduce
method in
the associated allocator.
- register(SelectorLoop, SctpChannel, ISctpHandler) - Static method in class org.snf4j.core.SctpRegistrator
-
Registers an SCTP channel with the specified selector loop.
- register(SelectorLoop, SctpChannel, SctpSession) - Static method in class org.snf4j.core.SctpRegistrator
-
Registers an SCTP channel with the specified selector loop.
- register(SelectorLoop, SctpServerChannel, ISctpSessionFactory) - Static method in class org.snf4j.core.SctpRegistrator
-
Registers a listening SCTP channel with the specified selector loop.
- register(SelectorLoop, SctpMultiChannel, ISctpHandler) - Static method in class org.snf4j.core.SctpRegistrator
-
Registers an SCTP multi channel with the specified selector loop.
- register(SelectorLoop, SctpMultiChannel, SctpMultiSession) - Static method in class org.snf4j.core.SctpRegistrator
-
Registers an SCTP multi channel with the specified selector loop.
- register(SocketChannel, IStreamHandler) - Method in class org.snf4j.core.SelectorLoop
-
Registers a stream-oriented channel with this selector loop.
- register(SocketChannel, StreamSession) - Method in class org.snf4j.core.SelectorLoop
-
Registers a stream-oriented channel with this selector loop.
- register(DatagramChannel, IDatagramHandler) - Method in class org.snf4j.core.SelectorLoop
-
Registers a datagram-oriented channel with this selector loop.
- register(DatagramChannel, DatagramSession) - Method in class org.snf4j.core.SelectorLoop
-
Registers a datagram-oriented channel with this selector loop.
- register(ServerSocketChannel, IStreamSessionFactory) - Method in class org.snf4j.core.SelectorLoop
-
Registers a listening stream-oriented channel with this selector loop.
- registered(SctpServerChannel) - Method in class org.snf4j.core.factory.AbstractSctpSessionFactory
-
- registered(ServerSocketChannel) - Method in class org.snf4j.core.factory.AbstractSessionFactory
-
- registered(SctpServerChannel) - Method in interface org.snf4j.core.factory.ISctpSessionFactory
-
Notifies about registration of a listening channel.
- registered(ServerSocketChannel) - Method in interface org.snf4j.core.factory.IStreamSessionFactory
-
Notifies about registration of a listening channel.
- registered(ServerSocketChannel) - Method in class org.snf4j.websocket.AbstractWebSocketSessionFactory
-
- RegisterFuture<V> - Class in org.snf4j.core.future
-
A future that represents the result of the asynchronous register methods of selector loops.
- RegisterFuture(ISession) - Constructor for class org.snf4j.core.future.RegisterFuture
-
Constructs a register future associated with a session.
- release(ByteBuffer) - Method in class org.snf4j.core.allocator.CachingAllocator
-
- release(ByteBuffer) - Method in class org.snf4j.core.allocator.DefaultAllocator
-
- release(ByteBuffer) - Method in interface org.snf4j.core.allocator.IByteBufferAllocator
-
Informs that given buffer that was allocated by this allocator is no
longer used and can be released.
- release(ByteBuffer) - Method in interface org.snf4j.core.session.ISession
-
Release given byte buffer by the allocator associated with this session.
- released(int) - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- released(int) - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when a buffer was released by the associated
allocator.
- releasing(int) - Method in class org.snf4j.core.allocator.DefaultAllocatorMetric
-
- releasing(int) - Method in interface org.snf4j.core.allocator.IDefaultAllocatorMetricCollector
-
Called when a buffer was requested for releasing by the associated
allocator.
- remaining() - Method in class org.snf4j.core.ByteBufferHolder
-
- remaining() - Method in interface org.snf4j.core.IByteBufferHolder
-
Returns the total number of bytes remaining in all byte buffers stored in
this holder.
- remaining() - Method in class org.snf4j.core.SingleByteBufferHolder
-
- remoteAddress - Variable in class org.snf4j.example.file.AbstractFileHandler
-
- remove(Object) - Method in class org.snf4j.core.ByteBufferHolder
-
- remove(int) - Method in class org.snf4j.core.ByteBufferHolder
-
- remove(Object) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Removes the codec identified by the specified key from this pipeline.
- remove(Object) - Method in interface org.snf4j.core.session.ISessionPipeline
-
Removes the session identified by the specified key from this pipeline.
- remove() - Method in class org.snf4j.core.thread.FastThreadLocal
- removeAll(Collection<?>) - Method in class org.snf4j.core.ByteBufferHolder
-
- removed(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.EventDrivenCompoundDecoder
-
- removed(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.EventDrivenCompoundEncoder
-
- removed(ISession, ICodecPipeline) - Method in interface org.snf4j.core.codec.IEventDrivenCodec
-
Signals that the codec has been removed from the pipeline associated with a
session.
- removed(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.zip.ZlibDecoder
-
Does nothing.
- removed(ISession, ICodecPipeline) - Method in class org.snf4j.core.codec.zip.ZlibEncoder
-
Does nothing.
- removed(ISession, ICodecPipeline) - Method in class org.snf4j.websocket.handshake.HandshakeEncoder
-
- removeFastThreadLocal(int) - Method in class org.snf4j.core.thread.FastThreadLocalThread
-
- removeFastThreadLocal(int) - Method in interface org.snf4j.core.thread.IFastThreadLocalThread
-
Removes a fast thread-local variable that is stored at the given index.
- removeSSLEngineBuilder(boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Removes the SSLEngine builder configured for specified handshaking mode.
- replace(Object, Object, IDecoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Replaces the decoder identified by the specified old key with a new
decoder in this pipeline.
- replace(Object, Object, IEncoder<?, ?>) - Method in interface org.snf4j.core.codec.ICodecPipeline
-
Replaces the encoder identified by the specified old key with a new
encoder in this pipeline.
- replace(Object, Object, T) - Method in interface org.snf4j.core.session.ISessionPipeline
-
Replaces the session identified by the specified old key with a new session
in this pipeline.
- replyReceived(ISocksReply, int) - Method in interface org.snf4j.core.proxy.ISocksReplyListener
-
Called when a reply is received by a SOCKS client.
- reset() - Method in class org.snf4j.core.timer.DefaultTimeoutModel
-
- reset() - Method in interface org.snf4j.core.timer.ITimeoutModel
-
Resets the model.
- response() - Method in class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
- response() - Method in interface org.snf4j.websocket.extensions.IExtension
-
Called by the Web Socket server to prepare the extension negotiation response.
- Result - Class in org.snf4j.example.engine
-
- Result() - Constructor for class org.snf4j.example.engine.Result
-
- resumeRead() - Method in interface org.snf4j.core.session.ISession
-
Resumes read operations for this session.
- resumeWrite() - Method in interface org.snf4j.core.session.ISession
-
Resumes write operations for this session.
- retainAll(Collection<?>) - Method in class org.snf4j.core.ByteBufferHolder
-
- RSV1 - Static variable in class org.snf4j.websocket.frame.Frame
-
The reserved bit 1
- RSV2 - Static variable in class org.snf4j.websocket.frame.Frame
-
The reserved bit 2
- RSV3 - Static variable in class org.snf4j.websocket.frame.Frame
-
The reserved bit 3
- schedule(Runnable, long) - Method in class org.snf4j.core.timer.DefaultTimer
-
- schedule(Runnable, long, long) - Method in class org.snf4j.core.timer.DefaultTimer
-
Schedules the specified task for repeated execution with the specified
initial delay.
- schedule(Runnable, long) - Method in interface org.snf4j.core.timer.ITimer
-
Schedules the specified task for execution after the specified delay.
- schedule(Runnable, long, long) - Method in interface org.snf4j.core.timer.ITimer
-
Schedules the specified task for repeated execution with the specified
initial delay.
- scheduleEvent(Object, long) - Method in interface org.snf4j.core.session.ISessionTimer
-
Schedules the specified timer event to be triggered in the session's
handler after the specified delay.
- scheduleEvent(Object, long, long) - Method in interface org.snf4j.core.session.ISessionTimer
-
Schedules the specified timer event for repeated triggering in the
session's handler with the specified initial delay.
- scheduleEvent(Object, long) - Method in class org.snf4j.core.session.UnsupportedSessionTimer
-
Always throws the UnsupportedOperationException.
- scheduleEvent(Object, long, long) - Method in class org.snf4j.core.session.UnsupportedSessionTimer
-
Always throws the UnsupportedOperationException.
- scheduleTask(Runnable, long, boolean) - Method in interface org.snf4j.core.session.ISessionTimer
-
Schedules the specified task for execution after the specified delay.
- scheduleTask(Runnable, long, long, boolean) - Method in interface org.snf4j.core.session.ISessionTimer
-
Schedules the specified task for repeated execution with the specified
initial delay.
- scheduleTask(Runnable, long, boolean) - Method in class org.snf4j.core.session.UnsupportedSessionTimer
-
Always throws the UnsupportedOperationException.
- scheduleTask(Runnable, long, long, boolean) - Method in class org.snf4j.core.session.UnsupportedSessionTimer
-
Always throws the UnsupportedOperationException.
- SctpClient - Class in org.snf4j.example.sctp
-
- SctpClient() - Constructor for class org.snf4j.example.sctp.SctpClient
-
- SctpClientHandler - Class in org.snf4j.example.sctp
-
- SctpClientHandler() - Constructor for class org.snf4j.example.sctp.SctpClientHandler
-
- SctpMultiServer1 - Class in org.snf4j.example.sctp.multi
-
- SctpMultiServer1() - Constructor for class org.snf4j.example.sctp.multi.SctpMultiServer1
-
- SctpMultiServer2 - Class in org.snf4j.example.sctp.multi
-
- SctpMultiServer2() - Constructor for class org.snf4j.example.sctp.multi.SctpMultiServer2
-
- SctpMultiServer3 - Class in org.snf4j.example.sctp.multi
-
- SctpMultiServer3() - Constructor for class org.snf4j.example.sctp.multi.SctpMultiServer3
-
- SctpMultiSession - Class in org.snf4j.core
-
The Stream Control Transmission Protocol (SCTP) multi-session.
- SctpNotificationType - Enum in org.snf4j.core.handler
-
An enum
defining types of the SCTP notifications.
- SctpRegistrator - Class in org.snf4j.core
-
An utility class providing methods for registration of SCTP channels with
SelectorLoop
- SctpSendingFailureException - Exception in org.snf4j.core.handler
-
- SctpSendingFailureException(ByteBuffer, ImmutableSctpMessageInfo, Throwable) - Constructor for exception org.snf4j.core.handler.SctpSendingFailureException
-
Constructs an exception with the message that was to be sent along with the
immutable ancillary data about the message and the cause of the failure.
- SctpServer - Class in org.snf4j.example.sctp
-
- SctpServer() - Constructor for class org.snf4j.example.sctp.SctpServer
-
- SctpServerHandler - Class in org.snf4j.example.sctp
-
- SctpServerHandler() - Constructor for class org.snf4j.example.sctp.SctpServerHandler
-
- SctpSession - Class in org.snf4j.core
-
The Stream Control Transmission Protocol (SCTP) session.
- SctpSession(String, ISctpHandler) - Constructor for class org.snf4j.core.SctpSession
-
Constructs a named SCTP session associated with a handler.
- SctpSession(ISctpHandler) - Constructor for class org.snf4j.core.SctpSession
-
Constructs an SCTP session associated with a handler.
- secureRandom(SecureRandom) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures a secure source of randomness.
- SELECTOR_REBUILD_THRESHOLD_SYSTEM_PROPERY - Static variable in class org.snf4j.core.Constants
-
System property specifying the threshold for the automatic selector rebuild.
- SELECTOR_SELECT_TIMEOUT - Static variable in class org.snf4j.core.Constants
-
System property specifying the maximum time in milliseconds the selector will block
while waiting for a channel to become ready.
- selectorFactory - Variable in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
A factory used to create selectors for all selector loops in this pool
- SelectorLoop - Class in org.snf4j.core
-
A selector loop responsible for processing I/O operations of stream-oriented
and datagram-oriented connections
- SelectorLoop(String, ISelectorLoopPool, ISelectorLoopStructureFactory) - Constructor for class org.snf4j.core.SelectorLoop
-
Constructs a named selector loop with specified parent pool
- SelectorLoop(String) - Constructor for class org.snf4j.core.SelectorLoop
-
Constructs a named selector loop
- SelectorLoop() - Constructor for class org.snf4j.core.SelectorLoop
-
Constructs a unnamed selector loop.
- SelectorLoopStoppingException - Exception in org.snf4j.core
-
Unchecked exception thrown when a selector loop is in process of stopping.
- SelectorLoopStoppingException() - Constructor for exception org.snf4j.core.SelectorLoopStoppingException
-
- send(SocketAddress, byte[]) - Method in class org.snf4j.core.DatagramSession
-
- send(SocketAddress, byte[], int, int) - Method in class org.snf4j.core.DatagramSession
-
- send(SocketAddress, ByteBuffer) - Method in class org.snf4j.core.DatagramSession
-
- send(SocketAddress, ByteBuffer, int) - Method in class org.snf4j.core.DatagramSession
-
- send(SocketAddress, IByteBufferHolder) - Method in class org.snf4j.core.DatagramSession
-
- send(SocketAddress, Object) - Method in class org.snf4j.core.DatagramSession
-
- send(SocketAddress, byte[]) - Method in class org.snf4j.core.EngineDatagramSession
-
- send(SocketAddress, byte[], int, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- send(SocketAddress, ByteBuffer) - Method in class org.snf4j.core.EngineDatagramSession
-
- send(SocketAddress, ByteBuffer, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- send(SocketAddress, IByteBufferHolder) - Method in class org.snf4j.core.EngineDatagramSession
-
- send(SocketAddress, Object) - Method in class org.snf4j.core.EngineDatagramSession
-
- send(SocketAddress, byte[]) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a datagram.length
byte datagram from the specified
byte array to a remote end via the datagram-oriented channel associated
with this session.
- send(SocketAddress, byte[], int, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a length
byte datagram from the specified byte array
to a remote end via the datagram-oriented channel associated with this
session.
- send(SocketAddress, ByteBuffer) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a datagram.remaining()
byte datagram from the specified byte
buffer to a remote end via the datagram-oriented channel associated with this
session.
- send(SocketAddress, ByteBuffer, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a length
byte datagram from the specified byte buffer
to a remote end via the datagram-oriented channel associated with this
session.
- send(SocketAddress, IByteBufferHolder) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a datagram.remaining()
byte datagram from the specified byte
buffer holder to a remote end via the datagram-oriented channel associated with
this session.
- send(SocketAddress, Object) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a message to a remote end via the datagram-oriented channel
associated with this session.
- sendnf(SocketAddress, byte[]) - Method in class org.snf4j.core.DatagramSession
-
- sendnf(SocketAddress, byte[], int, int) - Method in class org.snf4j.core.DatagramSession
-
- sendnf(SocketAddress, ByteBuffer) - Method in class org.snf4j.core.DatagramSession
-
- sendnf(SocketAddress, ByteBuffer, int) - Method in class org.snf4j.core.DatagramSession
-
- sendnf(SocketAddress, IByteBufferHolder) - Method in class org.snf4j.core.DatagramSession
-
- sendnf(SocketAddress, Object) - Method in class org.snf4j.core.DatagramSession
-
- sendnf(SocketAddress, byte[]) - Method in class org.snf4j.core.EngineDatagramSession
-
- sendnf(SocketAddress, byte[], int, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- sendnf(SocketAddress, ByteBuffer) - Method in class org.snf4j.core.EngineDatagramSession
-
- sendnf(SocketAddress, ByteBuffer, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- sendnf(SocketAddress, IByteBufferHolder) - Method in class org.snf4j.core.EngineDatagramSession
-
- sendnf(SocketAddress, Object) - Method in class org.snf4j.core.EngineDatagramSession
-
- sendnf(SocketAddress, byte[]) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a datagram.length
byte datagram from the specified
byte array to a remote end via the datagram-oriented channel associated
with this session.
- sendnf(SocketAddress, byte[], int, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a length
byte datagram from the specified byte array
to a remote end via the datagram-oriented channel associated with this
session.
- sendnf(SocketAddress, ByteBuffer) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a datagram.remaining()
byte datagram from the specified byte
buffer to a remote end via the datagram-oriented channel associated with this
session.
- sendnf(SocketAddress, ByteBuffer, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a length
byte datagram from the specified byte buffer
to a remote end via the datagram-oriented channel associated with this
session.
- sendnf(SocketAddress, IByteBufferHolder) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a datagram.remaining()
byte datagram from the specified byte
buffer holder to a remote end via the datagram-oriented channel associated with
this session.
- sendnf(SocketAddress, Object) - Method in interface org.snf4j.core.session.IDatagramSession
-
Sends a message to a remote end via the datagram-oriented channel
associated with this session.
- SERVICE_OVERLOAD - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Indicates (value 1013) that the service is experiencing overload.
- SERVICE_RESTART - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Indicates (value 1012) that the service is restarted.
- sessionCacheSize(int) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures the size of the cache used for storing the SSL session objects.
- SessionConfig - Class in org.snf4j.example.dtls
-
- SessionConfig - Class in org.snf4j.example.echo
-
- SessionConfig - Class in org.snf4j.example.heartbeat
-
- SessionConfig() - Constructor for class org.snf4j.example.heartbeat.SessionConfig
-
- SessionConfig - Class in org.snf4j.example.sctp
-
- SessionConfig() - Constructor for class org.snf4j.example.sctp.SessionConfig
-
- SessionConfig - Class in org.snf4j.example.websocket
-
- SessionConfig(URI) - Constructor for class org.snf4j.example.websocket.SessionConfig
-
- SessionConfig() - Constructor for class org.snf4j.example.websocket.SessionConfig
-
- SessionEvent - Enum in org.snf4j.core.handler
-
An enum
that represents session events related with changes of the session state.
- SessionException - Exception in org.snf4j.core.handler
-
Signals a general exception in processing of a session.
- SessionException() - Constructor for exception org.snf4j.core.handler.SessionException
-
Constructs a new exception without the detail message.
- SessionException(String) - Constructor for exception org.snf4j.core.handler.SessionException
-
Constructs a new exception with the specified detail message.
- SessionException(String, Throwable) - Constructor for exception org.snf4j.core.handler.SessionException
-
Constructs a new exception with the specified detail message and cause.
- SessionException(Throwable) - Constructor for exception org.snf4j.core.handler.SessionException
-
Constructs a new exception with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- SessionFuturesController - Class in org.snf4j.core.future
-
A class that holds all session's futures and controls their states based on
the session's events.
- SessionFuturesController(ISession) - Constructor for class org.snf4j.core.future.SessionFuturesController
-
Constructs a future controller associated with the specified session
- SessionHandler - Class in org.snf4j.example.dtls
-
- SessionIncident - Enum in org.snf4j.core.handler
-
An enum
that represents session incidents that may occur during processing
of I/O or protocol related operations.
- SessionIncidentException - Exception in org.snf4j.core.handler
-
Indicates some kind of incident detected while processing of I/O or protocol related
operations.
- SessionIncidentException(SessionIncident) - Constructor for exception org.snf4j.core.handler.SessionIncidentException
-
Constructs a new exception with the specified incident.
- SessionIncidentException(String, SessionIncident) - Constructor for exception org.snf4j.core.handler.SessionIncidentException
-
Constructs a new exception with the specified detail message and
incident.
- SessionIncidentException(String, Throwable, SessionIncident) - Constructor for exception org.snf4j.core.handler.SessionIncidentException
-
Constructs a new exception with the specified detail message, cause and
incident.
- SessionIncidentException(Throwable, SessionIncident) - Constructor for exception org.snf4j.core.handler.SessionIncidentException
-
Constructs a new exception with the specified cause and incident.
- sessions - Variable in class org.snf4j.core.DatagramServerHandler
-
Sessions currently handled by this handler.
- SessionState - Enum in org.snf4j.core.session
-
An enum
that represents session states.
- SessionStructureFactory - Class in org.snf4j.example.dtls
-
- sessionTimeout(int) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures the timeout limit for the cached SSL session objects.
- set(int, ByteBuffer) - Method in class org.snf4j.core.ByteBufferHolder
-
- set(T) - Method in class org.snf4j.core.thread.FastThreadLocal
- setAlwaysNotifiedBeingInPipeline(boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Configures if the session being associated with the session pipeline should
be notified in a situation when the connection is closed and the processing
of the session was not initiated yet.
- setController(ISelectorLoopController) - Method in class org.snf4j.core.SelectorLoop
-
Sets the controller determining the behavior of this selector loop.
- setDatagramServerSessionNoReopenPeriod(long) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Configures how long the
DatagramServerHandler
should block re-opening of a new session for the
remote peer which session has just been closed.
- setDefaultSctpPayloadProtocolID(int) - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Configures the payload protocol identifier for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- setDefaultSctpPeerAddress(SocketAddress) - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Configures the preferred peer address for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- setDefaultSctpStreamNumber(int) - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Configures the stream number for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- setDefaultSctpUnorderedFlag(boolean) - Method in class org.snf4j.core.session.DefaultSctpSessionConfig
-
Configures the unordered flag for the SCTP messages sent by the
ISctpSession
's write methods
without specified the
msgInfo
argument.
- setDelegate(IFuture<V>) - Method in interface org.snf4j.core.future.IDelegatingFuture
-
Sets the delegate future which state and result will represent this
future.
- setEndingAction(EndingAction) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Sets an action that should be performed by the selector loop after ending of
the associated session.
- setEngineHandshakeTimeout(long) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Configures how long the SNF4J framework should wait for completion of the
handshake phase for engine-driven sessions.
- setExecutor(Executor) - Method in class org.snf4j.core.EngineDatagramSession
-
- setExecutor(Executor) - Method in class org.snf4j.core.EngineStreamSession
-
- setExecutor(IFutureExecutor) - Method in class org.snf4j.core.future.SessionFuturesController
-
Sets the future executor that will be responsible for completion of the
operations related with the futures holden by this controller.
- setExecutor(Executor) - Method in interface org.snf4j.core.session.IEngineSession
-
Sets the executor that will be used to execute delegated tasks required
by this session to complete operations that block, or may take an
extended period of time to complete.
- setFastThreadLocal(int, Object) - Method in class org.snf4j.core.thread.FastThreadLocalThread
-
- setFastThreadLocal(int, Object) - Method in interface org.snf4j.core.thread.IFastThreadLocalThread
-
Stores a fast thread-local variable at the given index.
- setHandleCloseFrame(boolean) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Configures if the received Web Socket close frames should be handled
automatically.
- setIgnoreHostHeaderField(boolean) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Configures if the server session associated with this configuration object
should ignore missing the Host header field in the received Web Socket
handshake request.
- setIgnorePossiblyIncompleteDatagrams(boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Configures the behavior after receiving possibly incomplete datagrams.
- setMaxFramePayloadLength(int) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Sets the maximum length of the payload in the decoded Web Socket frames.
- setMaxHandshakeFrameLength(int) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Sets the maximum length of the decoded Web Socket handshake frames.
- setMaxInBufferCapacity(int) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Sets the maximum capacity for the session's input buffer.
- setMaxSSLApplicationBufferSizeRatio(int) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Sets the ratio that is used to calculate the maximum size of the SSL
application buffers.
- setMaxSSLNetworkBufferSizeRatio(int) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Sets the ratio that is used to calculate the maximum size of the SSL
network buffers.
- setMaxWriteSpinCount(int) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Configures the maximum loop count for write operations performed by the
selector loop before returning control to the NIO selector or to other channel ready
for I/O operations.
- setMinInBufferCapacity(int) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Sets the minimum capacity for the session's input buffer.
- setMinOutBufferCapacity(int) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Sets the minimum capacity for the session's output buffer.
- setOptimizeDataCopying(boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Configures if the processing of data should be optimized to reduce data
copying between byte buffers.
- setPool(ISelectorLoopPool) - Method in class org.snf4j.core.SelectorLoop
-
Sets the pool that will be used by this selector loop to retrieve
selector loops for accepted channels.
- setRequestOrigin(String) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Sets the value of the Origin header field in the client Web Socket handshake
request.
- setSecondThreshold(long) - Method in interface org.snf4j.core.future.ITwoThresholdFuture
-
Sets the second threshold.
- setSession(ISession) - Method in class org.snf4j.core.handler.AbstractDatagramHandler
-
Sets the datagram-oriented session that will be associated with this
handler.
- setSession(ISession) - Method in class org.snf4j.core.handler.AbstractHandler
-
- setSession(ISession) - Method in class org.snf4j.core.handler.AbstractSctpHandler
-
- setSession(ISession) - Method in class org.snf4j.core.handler.AbstractStreamHandler
-
Sets the stream-oriented session that will be associated with this
handler.
- setSession(ISession) - Method in interface org.snf4j.core.handler.IDatagramHandler
-
Sets the datagram-oriented session that will be associated with this handler.
- setSession(ISession) - Method in interface org.snf4j.core.handler.IHandler
-
Sets the session that will be associated with this handler.
- setSession(ISession) - Method in interface org.snf4j.core.handler.ISctpHandler
-
Set the SCTP session that will be associated with this handler.
- setSession(ISession) - Method in interface org.snf4j.core.handler.IStreamHandler
-
Set the stream-oriented session that will be associated with this handler.
- setSession(ISession) - Method in class org.snf4j.websocket.handshake.Handshaker
-
- setSession(ISession) - Method in interface org.snf4j.websocket.handshake.IHandshaker
-
Sets the session object this handshaker is associated with.
- setSupportedExtensions(IExtension...) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Sets the supported extensions for both the server and client
Web Socket sessions.
- setSupportedSubProtocols(String...) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
Sets the names of supported subprotocols for both the server and client
Web Socket sessions.
- setThroughputCalculationInterval(long) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
Sets the interval in milliseconds between each throughput calculation.
- setWaitForInboundCloseMessage(boolean) - Method in class org.snf4j.core.session.DefaultSessionConfig
-
- SHORT_NAME - Static variable in class org.snf4j.core.Constants
-
Short name for the API.
- shutdown(Association) - Method in class org.snf4j.core.SctpMultiSession
-
- shutdown(Association) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Shutdown an association without closing this session.
- SingleByteBufferHolder - Class in org.snf4j.core
-
A byte buffer holder that stores only one byte buffer.
- SingleByteBufferHolder(ByteBuffer) - Constructor for class org.snf4j.core.SingleByteBufferHolder
-
Construct a byte buffer holder storing one specified byte buffer.
- size() - Method in class org.snf4j.core.ByteBufferHolder
-
- size - Variable in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
The current size of this pool
- Slf4jLoggerFactory - Class in org.snf4j.core.logger.impl
-
A factory for the SLF4J logger.
- Slf4jLoggerFactory() - Constructor for class org.snf4j.core.logger.impl.Slf4jLoggerFactory
-
- Socks4Command - Enum in org.snf4j.core.proxy
-
An enum
that defines types of commands for the SOCKS4 proxy handler.
- Socks4ProxyHandler - Class in org.snf4j.core.proxy
-
Handles client proxy connections via the SOCKS Protocol Version 4.
- Socks4ProxyHandler(InetSocketAddress, String) - Constructor for class org.snf4j.core.proxy.Socks4ProxyHandler
-
Constructs a SOCKS4 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, user's
name and the default (10 seconds) connection timeout.
- Socks4ProxyHandler(InetSocketAddress, String, ISessionConfig) - Constructor for class org.snf4j.core.proxy.Socks4ProxyHandler
-
Constructs a SOCKS4 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, user's
name, the default (10 seconds) connection timeout and configuration.
- Socks4ProxyHandler(InetSocketAddress, String, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.Socks4ProxyHandler
-
Constructs a SOCKS4 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, user's
name, the default (10 seconds) connection timeout, configuration and factory.
- Socks4ProxyHandler(InetSocketAddress, Socks4Command, String) - Constructor for class org.snf4j.core.proxy.Socks4ProxyHandler
-
Constructs a SOCKS4 proxy connection handler with the specified destination
address, SOCKS4 command, user's name and the default (10 seconds) connection
timeout.
- Socks4ProxyHandler(InetSocketAddress, Socks4Command, String, ISessionConfig) - Constructor for class org.snf4j.core.proxy.Socks4ProxyHandler
-
Constructs a SOCKS4 proxy connection handler with the specified destination
address, SOCKS4 command, user's name, the default (10 seconds) connection
timeout and configuration.
- Socks4ProxyHandler(InetSocketAddress, Socks4Command, String, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.Socks4ProxyHandler
-
Constructs a SOCKS4 proxy connection handler with the specified destination
address, SOCKS4 command, user's name, the default (10 seconds) connection
timeout, configuration and factory.
- Socks5Command - Enum in org.snf4j.core.proxy
-
An enum
that defines types of commands for the SOCKS5 proxy handler.
- Socks5ProxyHandler - Class in org.snf4j.core.proxy
-
Handles client proxy connections via the SOCKS Protocol Version 5.
- Socks5ProxyHandler(InetSocketAddress) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT
) command and the
default (10 seconds) connection timeout.
- Socks5ProxyHandler(InetSocketAddress, ISessionConfig) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, the
default (10 seconds) connection timeout and configuration.
- Socks5ProxyHandler(InetSocketAddress, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, the
default (10 seconds) connection timeout, configuration and factory.
- Socks5ProxyHandler(InetSocketAddress, String, String) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, user's
name/password and the default (10 seconds) connection timeout.
- Socks5ProxyHandler(InetSocketAddress, String, String, ISessionConfig) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, user's
name/password, the default (10 seconds) connection timeout and configuration.
- Socks5ProxyHandler(InetSocketAddress, String, String, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, the default (
CONNECT
) command, user's
name/password, the default (10 seconds) connection timeout, configuration and
factory.
- Socks5ProxyHandler(InetSocketAddress, Socks5Command) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command and the default (10 seconds) connection timeout.
- Socks5ProxyHandler(InetSocketAddress, Socks5Command, ISessionConfig) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command, the default (10 seconds) connection timeout and
configuration.
- Socks5ProxyHandler(InetSocketAddress, Socks5Command, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command, the default (10 seconds) connection timeout,
configuration and factory.
- Socks5ProxyHandler(InetSocketAddress, Socks5Command, String, String) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command, user's name/password and the default (10 seconds)
connection timeout.
- Socks5ProxyHandler(InetSocketAddress, Socks5Command, String, String, ISessionConfig) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command, user's name/password, the default (10 seconds)
connection timeout and configuration.
- Socks5ProxyHandler(InetSocketAddress, Socks5Command, String, String, ISessionConfig, ISessionStructureFactory) - Constructor for class org.snf4j.core.proxy.Socks5ProxyHandler
-
Constructs a SOCKS5 proxy connection handler with the specified destination
address, SOCKS5 command, user's name/password, the default (10 seconds)
connection timeout, configuration and factory.
- SocksAddressType - Enum in org.snf4j.core.proxy
-
An enum
that defines types of addresses in the replies from the
SOCKS server.
- SSLContextBuilder - Class in org.snf4j.core.session.ssl
-
- SSLContextCreateException - Exception in org.snf4j.core.session.ssl
-
Indicates problems with creation of the SSL context.
- SSLContextCreateException() - Constructor for exception org.snf4j.core.session.ssl.SSLContextCreateException
-
Constructs a new exception without the detail message.
- SSLContextCreateException(String) - Constructor for exception org.snf4j.core.session.ssl.SSLContextCreateException
-
Constructs a new exception with the specified detail message.
- SSLContextCreateException(String, Throwable) - Constructor for exception org.snf4j.core.session.ssl.SSLContextCreateException
-
Constructs a new exception with the specified detail message and cause.
- SSLContextCreateException(Throwable) - Constructor for exception org.snf4j.core.session.ssl.SSLContextCreateException
-
Constructs a new exception with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- SSLEngineBuilder - Class in org.snf4j.core.session.ssl
-
- SSLEngineCreateException - Exception in org.snf4j.core.session
-
Indicates problems with creation of the SSL engine.
- SSLEngineCreateException() - Constructor for exception org.snf4j.core.session.SSLEngineCreateException
-
Constructs a new exception without the detail message.
- SSLEngineCreateException(String) - Constructor for exception org.snf4j.core.session.SSLEngineCreateException
-
Constructs a new exception with the specified detail message.
- SSLEngineCreateException(String, Throwable) - Constructor for exception org.snf4j.core.session.SSLEngineCreateException
-
Constructs a new exception with the specified detail message and cause.
- SSLEngineCreateException(Throwable) - Constructor for exception org.snf4j.core.session.SSLEngineCreateException
-
Constructs a new exception with the specified cause and a detail message
of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
- SSLSession - Class in org.snf4j.core
-
The stream-oriented session that handles SSL/TLS connections.
- SSLSession(String, SocketAddress, IStreamHandler, boolean) - Constructor for class org.snf4j.core.SSLSession
-
Constructs the named SSL/TLS session associated with a handler and a
remote peer.
- SSLSession(SocketAddress, IStreamHandler, boolean) - Constructor for class org.snf4j.core.SSLSession
-
Constructs the SSL/TLS session associated with a handler and a
remote peer.
- SSLSession(String, IStreamHandler, boolean) - Constructor for class org.snf4j.core.SSLSession
-
Constructs the named SSL/TLS session associated with a handler.
- SSLSession(IStreamHandler, boolean) - Constructor for class org.snf4j.core.SSLSession
-
Constructs the SSL/TLS session associated with a handler.
- SSLWebSocketSession - Class in org.snf4j.websocket
-
The Secure Web Socket session implementing the WebSocket Protocol described in RFC 6455.
- SSLWebSocketSession(String, SocketAddress, IWebSocketHandler, boolean) - Constructor for class org.snf4j.websocket.SSLWebSocketSession
-
Constructs a named Secure Web Socket session associated with a handler and a
remote peer.
- SSLWebSocketSession(SocketAddress, IWebSocketHandler, boolean) - Constructor for class org.snf4j.websocket.SSLWebSocketSession
-
Constructs a Secure Web Socket session associated with a handler and a
remote peer.
- SSLWebSocketSession(String, IWebSocketHandler, boolean) - Constructor for class org.snf4j.websocket.SSLWebSocketSession
-
Constructs a named Secure Web Socket session associated with a handler.
- SSLWebSocketSession(IWebSocketHandler, boolean) - Constructor for class org.snf4j.websocket.SSLWebSocketSession
-
Constructs a Secure Web Socket session associated with a handler.
- startTime - Variable in class org.snf4j.example.file.AbstractFileHandler
-
- Status - Enum in org.snf4j.core.engine
-
An
enum
describing the overall result of the wrap and
unwrap methods in an
IEngine
implementation.
- stop() - Method in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
- stop() - Method in interface org.snf4j.core.pool.ISelectorLoopPool
-
Gently stops all selector loops in this pool.
- StreamSession - Class in org.snf4j.core
-
- StreamSession(String, IStreamHandler) - Constructor for class org.snf4j.core.StreamSession
-
Constructs a named stream-oriented session associated with a handler.
- StreamSession(IStreamHandler) - Constructor for class org.snf4j.core.StreamSession
-
Constructs a stream-oriented session associated with a handler.
- subList(int, int) - Method in class org.snf4j.core.ByteBufferHolder
-
- success() - Method in class org.snf4j.core.future.TaskFuture
-
Marks this future as successful and notifies all threads waiting for this
future to be completed.
- SuccessfulFuture<V> - Class in org.snf4j.core.future
-
A successful future
- SuccessfulFuture(ISession) - Constructor for class org.snf4j.core.future.SuccessfulFuture
-
Constructs a successful future.
- SupportedCipherProtocolFilters - Class in org.snf4j.core.session.ssl
-
A set of cipher and protocol filters that filter out all requested ciphers and
protocols that are not supported by the current
SSLEngine
.
- suspendRead() - Method in interface org.snf4j.core.session.ISession
-
Suspends read operations for this session.
- suspendWrite() - Method in interface org.snf4j.core.session.ISession
-
Suspends write operations for this session.
- switchDecoders(ICodecPipeline, boolean) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
- switchDecoders(ICodecPipeline, boolean) - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Called when the decoders in the codec pipeline should be switched after
finishing of the Web Socket handshake.
- switchEncoders(ICodecPipeline, boolean) - Method in class org.snf4j.websocket.DefaultWebSocketSessionConfig
-
- switchEncoders(ICodecPipeline, boolean) - Method in interface org.snf4j.websocket.IWebSocketSessionConfig
-
Called when the encoders in the codec pipeline should be switched after
finishing of the Web Socket handshake.
- sync() - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- sync(long) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- sync(long, TimeUnit) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- sync() - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed, and throws an exception that wraps
the cause of the failure if this future failed.
- sync(long) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit,
and throws an exception that wraps the cause of the failure if this
future failed.
- sync(long, TimeUnit) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit,
and throws an exception that wraps the cause of the failure if this
future failed.
- syncDecoders(ISession) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- syncDecoders(ISession) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Informs the codec executor that right now is the best moment to safely
synchronize any pending changes for decoders in the associated
pipeline.
- syncEncoders(ISession) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- syncEncoders(ISession) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Informs the codec executor that right now is the best moment to safely
synchronize any pending changes for encoders in the associated
pipeline.
- syncEventDrivenCodecs(ISession) - Method in class org.snf4j.core.codec.DefaultCodecExecutor
-
- syncEventDrivenCodecs(ISession) - Method in interface org.snf4j.core.codec.ICodecExecutor
-
Informs the codec executor that right now is the best moment to safely
synchronize any pending changes for event-driven codecs in the associated
pipeline.
- syncUninterruptibly() - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- syncUninterruptibly(long) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- syncUninterruptibly(long, TimeUnit) - Method in class org.snf4j.core.future.CompletedFuture
-
Returns immediately
- syncUninterruptibly() - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed without interruption, and throws an
exception that wraps the cause of the failure if this future failed.
- syncUninterruptibly(long) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit
without interruption, and throws an exception that wraps the cause of the
failure if this future failed.
- syncUninterruptibly(long, TimeUnit) - Method in interface org.snf4j.core.future.IFuture
-
Waits for this future to be completed within the specified time limit
without interruption, and throws an exception that wraps the cause of the
failure if this future failed.
- TaskFuture<V> - Class in org.snf4j.core.future
-
A future that represents the result of a asynchronous task.
- TaskFuture(ISession) - Constructor for class org.snf4j.core.future.TaskFuture
-
Constructs a task future associated with a session.
- TextFrame - Class in org.snf4j.websocket.frame
-
Web Socket text frame.
- TextFrame(boolean, int, byte[]) - Constructor for class org.snf4j.websocket.frame.TextFrame
-
Constructs a Web Socket text frame containing binary data.
- TextFrame(boolean, int, String) - Constructor for class org.snf4j.websocket.frame.TextFrame
-
Constructs a Web Socket text frame containing text data.
- TextFrame(byte[]) - Constructor for class org.snf4j.websocket.frame.TextFrame
-
Constructs a Web Socket text frame containing binary data.
- TextFrame(String) - Constructor for class org.snf4j.websocket.frame.TextFrame
-
Constructs a Web Socket text frame containing text data.
- TextFrame() - Constructor for class org.snf4j.websocket.frame.TextFrame
-
Constructs an empty Web Socket text frame.
- threadFactory - Variable in class org.snf4j.core.pool.DefaultSelectorLoopPool
-
A factory used to create threads for all selector loops in this pool
- ThreadLocalCachingAllocator - Class in org.snf4j.core.allocator
-
A thread-local caching allocator for
ByteBuffer
allocations.
- ThreadLocalCachingAllocator(boolean, IDefaultAllocatorMetricCollector) - Constructor for class org.snf4j.core.allocator.ThreadLocalCachingAllocator
-
Constructs a thread-local caching allocator with default minimal capacity
(128) and specified metric data collector.
- ThreadLocalCachingAllocator(boolean) - Constructor for class org.snf4j.core.allocator.ThreadLocalCachingAllocator
-
Constructs a thread-local caching allocator with default minimal capacity
(128).
- ThreadLocalCachingAllocator(boolean, int, IDefaultAllocatorMetricCollector) - Constructor for class org.snf4j.core.allocator.ThreadLocalCachingAllocator
-
Constructs a thread-local caching allocator with specified metric data
collector.
- ThreadLocalCachingAllocator(boolean, int) - Constructor for class org.snf4j.core.allocator.ThreadLocalCachingAllocator
-
Constructs a thread-local caching allocator.
- ThreadLocalCachingAllocator(boolean, int, boolean, IDefaultAllocatorMetricCollector) - Constructor for class org.snf4j.core.allocator.ThreadLocalCachingAllocator
-
Constructs a thread-local caching allocator supporting all types of threads
threads.
- timer(Object) - Method in class org.snf4j.core.DatagramServerHandler
-
- timer(Object) - Method in class org.snf4j.core.handler.AbstractHandler
-
- timer(Runnable) - Method in class org.snf4j.core.handler.AbstractHandler
-
- timer(Object) - Method in interface org.snf4j.core.handler.IHandler
-
Called to notify about an expiration of the timer identified by the
specified event object.
- timer(Runnable) - Method in interface org.snf4j.core.handler.IHandler
-
Called to notify about an expiration of the timer associated with the
specified task.
- timer(Object) - Method in class org.snf4j.core.proxy.AbstractProxyHandler
-
- timer(Object) - Method in class org.snf4j.example.dtls.SessionHandler
-
- timer(Object) - Method in class org.snf4j.example.file.FileClientHandler
-
- timer(Runnable) - Method in class org.snf4j.example.heartbeat.HeartbeatHandler
-
- timers - Variable in class org.snf4j.core.DatagramServerHandler
-
A map holding timers used internally by the class.
- TLS_FAILURE - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Reserved (value 1015) and MUST NOT be set as a status code in a Close control
frame by an endpoint.
- toArray() - Method in class org.snf4j.core.ByteBufferHolder
-
- toArray(T[]) - Method in class org.snf4j.core.ByteBufferHolder
-
- toArray(IByteBufferHolder) - Static method in class org.snf4j.core.codec.bytes.BufferHolderToArrayCodec
-
- toArray(ByteBuffer) - Static method in class org.snf4j.core.codec.bytes.BufferToArrayCodec
-
- toArray() - Method in interface org.snf4j.core.IByteBufferHolder
-
Returns an array containing all of byte buffers stored in this holder in
proper sequence (from first to last buffer buffer to send).
- toArray() - Method in class org.snf4j.core.SingleByteBufferHolder
-
- toBytes(short, byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a short
value into an array of bytes.
- toBytes(short) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a short
value into an array of bytes.
- toBytes(int, byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an int
value into an array of bytes.
- toBytes(int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an int
value into an array of bytes.
- toBytes(long, byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a long
value into an array of bytes.
- toBytes(long) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts a long
value into an array of bytes.
- toBytes() - Method in class org.snf4j.example.heartbeat.Packet
-
- toInt(byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into an int
value.
- toInt(byte[]) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into an int
value.
- toLong(byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a long
value.
- toLong(byte[]) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a long
value.
- TOO_BIG - Static variable in class org.snf4j.websocket.frame.CloseFrame
-
Indicates (1009) that an endpoint is terminating the connection because it
has received a message that is too big for it to process.
- toPort(byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a port number.
- toPort(byte[]) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a port number.
- toShort(byte[], int) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a short
value.
- toShort(byte[]) - Static method in class org.snf4j.core.util.NetworkUtil
-
Converts an array of bytes into a short
value.
- toString() - Method in class org.snf4j.core.future.AbstractFuture
-
Returns a string representation of this future.
- toString() - Method in class org.snf4j.core.IdentifiableObject
-
Returns a string representation of this object.
- toText(byte[]) - Static method in class org.snf4j.websocket.frame.AggregatedTextFrame
-
Returns a text created by decoding the specified array of bytes in the UTF-8
encoding.
- trace(ILogger, String, Object...) - Method in class org.snf4j.core.logger.DefaultExceptionLogger
-
- trace(ILogger, String, Object...) - Method in interface org.snf4j.core.logger.IExceptionLogger
-
Logs a message at the TRACE level with varying number of arguments.
- trace(String) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the TRACE level.
- trace(String, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the TRACE level with one argument.
- trace(String, Object, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the TRACE level with two arguments.
- trace(String, Object...) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the TRACE level with three or more arguments.
- trace(String) - Method in class org.snf4j.core.logger.NopLogger
-
- trace(String, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- trace(String, Object, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- trace(String, Object...) - Method in class org.snf4j.core.logger.NopLogger
-
- trustManager(File) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures trusted certificates for remote hosts verification.
- trustManager(InputStream) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures trusted certificates for remote hosts verification.
- trustManager(X509Certificate...) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures trusted certificates for remote hosts verification.
- trustManager(TrustManagerFactory) - Method in class org.snf4j.core.session.ssl.SSLContextBuilder
-
Configures trusted certificates for remote hosts verification.
- type() - Method in enum org.snf4j.core.handler.DataEvent
-
Returns the event type associated with this event.
- type() - Method in enum org.snf4j.core.handler.SessionEvent
-
- validateResponse(List<String>) - Method in class org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension
-
- validateResponse(List<String>) - Method in interface org.snf4j.websocket.extensions.IExtension
-
Called by the Web Socket client to validate the received extension negotiation
response.
- value() - Method in enum org.snf4j.websocket.frame.Opcode
-
Returns numeric value of this Opcode.
- valueOf(String) - Static method in enum org.snf4j.core.codec.zip.ZlibCodec.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.EndingAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.engine.HandshakeStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.engine.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.handler.DataEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.handler.SctpNotificationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.handler.SessionEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.handler.SessionIncident
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.ICloseControllingException.CloseType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.proxy.Socks4Command
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.proxy.Socks5Command
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.proxy.SocksAddressType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.session.SessionState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.session.ssl.ClientAuth
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.core.util.PemUtil.Label
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.example.engine.AbstractEngine.CloseType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.example.engine.HandshakingEngine.HandshakeState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension.NoContext
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.websocket.extensions.GroupIdentifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.snf4j.websocket.frame.Opcode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.snf4j.core.codec.zip.ZlibCodec.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.EndingAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.engine.HandshakeStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.engine.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.EventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.handler.DataEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.handler.SctpNotificationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.handler.SessionEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.handler.SessionIncident
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.ICloseControllingException.CloseType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.proxy.Socks4Command
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.proxy.Socks5Command
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.proxy.SocksAddressType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.session.SessionState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.session.ssl.ClientAuth
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.core.util.PemUtil.Label
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.example.engine.AbstractEngine.CloseType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.example.engine.HandshakingEngine.HandshakeState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.websocket.extensions.compress.PerMessageDeflateExtension.NoContext
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.websocket.extensions.GroupIdentifier
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.snf4j.websocket.frame.Opcode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- waitForInboundCloseMessage() - Method in class org.snf4j.core.session.DefaultSessionConfig
-
- waitForInboundCloseMessage() - Method in interface org.snf4j.core.session.ISessionConfig
-
- warn(ILogger, String, Object...) - Method in class org.snf4j.core.logger.DefaultExceptionLogger
-
- warn(ILogger, String, Object...) - Method in interface org.snf4j.core.logger.IExceptionLogger
-
Logs a message at the WARN level with varying number of arguments.
- warn(String) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the WARN level.
- warn(String, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the WARN level with one argument.
- warn(String, Object, Object) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the WARN level with two arguments.
- warn(String, Object...) - Method in interface org.snf4j.core.logger.ILogger
-
Logs a message at the WARN level with three or more arguments.
- warn(String) - Method in class org.snf4j.core.logger.NopLogger
-
- warn(String, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- warn(String, Object, Object) - Method in class org.snf4j.core.logger.NopLogger
-
- warn(String, Object...) - Method in class org.snf4j.core.logger.NopLogger
-
- WEBSOCKET_DECODER - Static variable in interface org.snf4j.websocket.IWebSocketSessionConfig
-
The default key identifying the Web Socket frame decoder
FrameDecoder
in
the default codec pipeline created by the SNF4J framework.
- WEBSOCKET_ENCODER - Static variable in interface org.snf4j.websocket.IWebSocketSessionConfig
-
The default key identifying the Web Socket frame encoder
FrameEncoder
in
the default codec pipeline created by the SNF4J framework.
- WEBSOCKET_UTF8_VALIDATOR - Static variable in interface org.snf4j.websocket.IWebSocketSessionConfig
-
The default key identifying the UTF8 validator
FrameUtf8Validator
in
the default codec pipeline created by the SNF4J framework.
- WebSocketClient - Class in org.snf4j.example.websocket
-
- WebSocketClient() - Constructor for class org.snf4j.example.websocket.WebSocketClient
-
- WebSocketClientHandler - Class in org.snf4j.example.websocket
-
- WebSocketServer - Class in org.snf4j.example.websocket
-
- WebSocketServer() - Constructor for class org.snf4j.example.websocket.WebSocketServer
-
- WebSocketServerHandler - Class in org.snf4j.example.websocket
-
- WebSocketSession - Class in org.snf4j.websocket
-
The Web Socket session implementing the WebSocket Protocol described in RFC 6455.
- WebSocketSession(String, IWebSocketHandler, boolean) - Constructor for class org.snf4j.websocket.WebSocketSession
-
Constructs a named Web Socket session associated with a Web Socket handler.
- WebSocketSession(IWebSocketHandler, boolean) - Constructor for class org.snf4j.websocket.WebSocketSession
-
Constructs a Web Socket session associated with a Web Socket handler.
- wrap(ByteBuffer[], ByteBuffer) - Method in interface org.snf4j.core.engine.IEngine
-
Attempts to encode outbound application data from a subsequence of data buffers
into outbound network data.
- wrap(ByteBuffer, ByteBuffer) - Method in interface org.snf4j.core.engine.IEngine
-
Attempts to encode outbound application data from a data buffer into outbound
network data.
- wrap(MessageInfo) - Static method in class org.snf4j.core.ImmutableSctpMessageInfo
-
Wraps the specified MessageInfo
instance.
- wrap(ByteBuffer, ByteBuffer) - Method in class org.snf4j.example.engine.AbstractEngine
-
- wrap(ByteBuffer[], ByteBuffer) - Method in class org.snf4j.example.engine.BasicEngine
-
- wrapEvent(Object) - Method in class org.snf4j.core.AbstractSessionTimer
-
Wraps the specified event object into a task object that can be used for
delivering the event object to the session's handler.
- wrapTask(Runnable) - Method in class org.snf4j.core.AbstractSessionTimer
-
Wraps the specified task into a task object that can be used for
delivering the specified task to the session's handler.
- write(byte[]) - Method in class org.snf4j.core.DatagramSession
-
- write(byte[], int, int) - Method in class org.snf4j.core.DatagramSession
-
- write(ByteBuffer) - Method in class org.snf4j.core.DatagramSession
-
- write(ByteBuffer, int) - Method in class org.snf4j.core.DatagramSession
-
- write(IByteBufferHolder) - Method in class org.snf4j.core.DatagramSession
-
- write(Object) - Method in class org.snf4j.core.DatagramSession
-
- write(byte[]) - Method in class org.snf4j.core.EngineDatagramSession
-
- write(byte[], int, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- write(ByteBuffer) - Method in class org.snf4j.core.EngineDatagramSession
-
- write(ByteBuffer, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- write(IByteBufferHolder) - Method in class org.snf4j.core.EngineDatagramSession
-
- write(Object) - Method in class org.snf4j.core.EngineDatagramSession
-
- write(byte[]) - Method in class org.snf4j.core.EngineStreamSession
-
- write(byte[], int, int) - Method in class org.snf4j.core.EngineStreamSession
-
- write(ByteBuffer) - Method in class org.snf4j.core.EngineStreamSession
-
- write(ByteBuffer, int) - Method in class org.snf4j.core.EngineStreamSession
-
- write(IByteBufferHolder) - Method in class org.snf4j.core.EngineStreamSession
-
- write(byte[]) - Method in class org.snf4j.core.SctpMultiSession
-
- write(byte[], int, int) - Method in class org.snf4j.core.SctpMultiSession
-
- write(ByteBuffer) - Method in class org.snf4j.core.SctpMultiSession
-
- write(ByteBuffer, int) - Method in class org.snf4j.core.SctpMultiSession
-
- write(Object) - Method in class org.snf4j.core.SctpMultiSession
-
- write(byte[]) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a datagram.length
byte datagram from the specified
byte array to the datagram-oriented channel associated with this session.
- write(byte[], int, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a length
byte datagram from the specified byte array
to the datagram-oriented channel associated with this session.
- write(ByteBuffer) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a datagram.remaining()
byte datagram from the specified byte buffer
to the datagram-oriented channel associated with this session.
- write(ByteBuffer, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a length
byte datagram from the specified byte buffer
to the datagram-oriented channel associated with this session.
- write(IByteBufferHolder) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a datagram.remaining()
byte datagram from the specified byte buffer
holder to the datagram-oriented channel associated with this session.
- write(Object) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a message to the datagram-oriented channel associated with this session.
- write(byte[]) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message from the specified byte array to the SCTP channel that is
associated with this session.
- write(byte[], int, int) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message of given length from the specified byte array to the SCTP
channel that is associated with this session.
- write(ByteBuffer) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message from the specified byte buffer to the SCTP channel that is
associated with this session.
- write(ByteBuffer, int) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message of given length from the specified byte buffer to the SCTP
channel that is associated with this session.
- write(Object) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message to the SCTP channel that is associated with this session.
- write(byte[]) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte array to the SCTP channel that is
associated with this session.
- write(byte[], int, int) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte array to the SCTP
channel that is associated with this session.
- write(byte[], ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte array to the SCTP channel that is
associated with this session.
- write(byte[], int, int, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte array to the SCTP
channel that is associated with this session.
- write(ByteBuffer) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte buffer to the SCTP channel that is
associated with this session.
- write(ByteBuffer, int) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte buffer to the SCTP
channel that is associated with this session.
- write(ByteBuffer, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte buffer to the SCTP channel that is
associated with this session.
- write(ByteBuffer, int, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte buffer to the SCTP
channel that is associated with this session.
- write(Object) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message to the SCTP channel that is associated with this session.
- write(Object, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message to the SCTP channel that is associated with this session.
- write(byte[]) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes data.length
bytes from the specified byte array
to the stream-oriented channel associated with this session.
- write(byte[], int, int) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes length
bytes from the specified byte array
to the stream-oriented channel associated with this session.
- write(ByteBuffer) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes data.remaining()
bytes from the specified
byte buffer to the stream-oriented channel associated with
this session.
- write(ByteBuffer, int) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes length
bytes from the specified byte buffer
to the stream-oriented channel associated with this session.
- write(IByteBufferHolder) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes holder.remaining()
bytes from the specified byte buffer
holder to the stream-oriented channel associated with this session.
- write(Object) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes a message to the stream-oriented channel associated with this
session.
- write(byte[]) - Method in class org.snf4j.core.StreamSession
-
- write(byte[], int, int) - Method in class org.snf4j.core.StreamSession
-
- write(ByteBuffer) - Method in class org.snf4j.core.StreamSession
-
- write(IByteBufferHolder) - Method in class org.snf4j.core.StreamSession
-
- write(ByteBuffer, int) - Method in class org.snf4j.core.StreamSession
-
- write(Object) - Method in class org.snf4j.core.StreamSession
-
- writenf(byte[]) - Method in class org.snf4j.core.DatagramSession
-
- writenf(byte[], int, int) - Method in class org.snf4j.core.DatagramSession
-
- writenf(ByteBuffer) - Method in class org.snf4j.core.DatagramSession
-
- writenf(ByteBuffer, int) - Method in class org.snf4j.core.DatagramSession
-
- writenf(IByteBufferHolder) - Method in class org.snf4j.core.DatagramSession
-
- writenf(Object) - Method in class org.snf4j.core.DatagramSession
-
- writenf(byte[]) - Method in class org.snf4j.core.EngineDatagramSession
-
- writenf(byte[], int, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- writenf(ByteBuffer) - Method in class org.snf4j.core.EngineDatagramSession
-
- writenf(ByteBuffer, int) - Method in class org.snf4j.core.EngineDatagramSession
-
- writenf(IByteBufferHolder) - Method in class org.snf4j.core.EngineDatagramSession
-
- writenf(Object) - Method in class org.snf4j.core.EngineDatagramSession
-
- writenf(byte[]) - Method in class org.snf4j.core.EngineStreamSession
-
- writenf(byte[], int, int) - Method in class org.snf4j.core.EngineStreamSession
-
- writenf(ByteBuffer) - Method in class org.snf4j.core.EngineStreamSession
-
- writenf(ByteBuffer, int) - Method in class org.snf4j.core.EngineStreamSession
-
- writenf(IByteBufferHolder) - Method in class org.snf4j.core.EngineStreamSession
-
- writenf(byte[]) - Method in class org.snf4j.core.SctpMultiSession
-
- writenf(byte[], int, int) - Method in class org.snf4j.core.SctpMultiSession
-
- writenf(ByteBuffer) - Method in class org.snf4j.core.SctpMultiSession
-
- writenf(ByteBuffer, int) - Method in class org.snf4j.core.SctpMultiSession
-
- writenf(Object) - Method in class org.snf4j.core.SctpMultiSession
-
- writenf(byte[]) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a datagram.length
byte datagram from the specified
byte array to the datagram-oriented channel associated with this session.
- writenf(byte[], int, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a length
byte datagram from the specified byte array
to the datagram-oriented channel associated with this session.
- writenf(ByteBuffer) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a datagram.remaining()
byte datagram from the specified byte buffer
to the datagram-oriented channel associated with this session.
- writenf(ByteBuffer, int) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a length
byte datagram from the specified byte buffer
to the datagram-oriented channel associated with this session.
- writenf(IByteBufferHolder) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a datagram.remaining()
byte datagram from the specified byte buffer
holder to the datagram-oriented channel associated with this session.
- writenf(Object) - Method in interface org.snf4j.core.session.IDatagramSession
-
Writes a message to the datagram-oriented channel associated with this session.
- writenf(byte[]) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message from the specified byte array to the SCTP channel that is
associated with this session.
- writenf(byte[], int, int) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message of given length from the specified byte array to the SCTP
channel that is associated with this session.
- writenf(ByteBuffer) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message from the specified byte buffer to the SCTP channel that is
associated with this session.
- writenf(ByteBuffer, int) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message of given length from the specified byte buffer to the SCTP
channel that is associated with this session.
- writenf(Object) - Method in interface org.snf4j.core.session.ISctpMultiSession
-
Writes a message to the SCTP channel that is associated with this session.
- writenf(byte[]) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte array to the SCTP channel that is
associated with this session.
- writenf(byte[], int, int) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte array to the SCTP
channel that is associated with this session.
- writenf(byte[], ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte array to the SCTP channel that is
associated with this session.
- writenf(byte[], int, int, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte array to the SCTP
channel that is associated with this session.
- writenf(ByteBuffer) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte buffer to the SCTP channel that is
associated with this session.
- writenf(ByteBuffer, int) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte buffer to the SCTP
channel that is associated with this session.
- writenf(ByteBuffer, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message from the specified byte buffer to the SCTP channel that is
associated with this session.
- writenf(ByteBuffer, int, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message of given length from the specified byte buffer to the SCTP
channel that is associated with this session.
- writenf(Object) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message to the SCTP channel that is associated with this session.
- writenf(Object, ImmutableSctpMessageInfo) - Method in interface org.snf4j.core.session.ISctpSession
-
Writes a message to the SCTP channel that is associated with this session.
- writenf(byte[]) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes data.length
bytes from the specified byte array
to the stream-oriented channel associated with this session.
- writenf(byte[], int, int) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes length
bytes from the specified byte array
to the stream-oriented channel associated with this session.
- writenf(ByteBuffer) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes data.remaining()
bytes from the specified
byte buffer to the stream-oriented channel associated with
this session.
- writenf(ByteBuffer, int) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes length
bytes from the specified byte buffer
to the stream-oriented channel associated with this session.
- writenf(IByteBufferHolder) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes holder.remaining()
bytes from the specified
byte buffer holder to the stream-oriented channel associated with
this session.
- writenf(Object) - Method in interface org.snf4j.core.session.IStreamSession
-
Writes a message to the stream-oriented channel associated with this
session.
- writenf(byte[]) - Method in class org.snf4j.core.StreamSession
-
- writenf(byte[], int, int) - Method in class org.snf4j.core.StreamSession
-
- writenf(ByteBuffer) - Method in class org.snf4j.core.StreamSession
-
- writenf(IByteBufferHolder) - Method in class org.snf4j.core.StreamSession
-
- writenf(ByteBuffer, int) - Method in class org.snf4j.core.StreamSession
-
- writenf(Object) - Method in class org.snf4j.core.StreamSession
-