Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of the
API.
|
org.snf4j.core.factory |
Provides interfaces and classes for factories of different kind that are used
by the API.
|
org.snf4j.core.handler |
Provides interfaces and classes for implementing sessions' handlers.
|
org.snf4j.core.session |
Provides classes and interfaces used for session handling.
|
Modifier and Type | Method and Description |
---|---|
IStreamHandler |
EngineStreamSession.getHandler() |
IStreamHandler |
StreamSession.getHandler() |
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
SelectorLoop.register(SocketChannel channel,
IStreamHandler handler)
Registers a stream-oriented channel with this selector loop.
|
Constructor and Description |
---|
EngineStreamSession(IEngine engine,
IStreamHandler handler,
ILogger logger)
Constructs a stream-oriented session associated with a protocol
engine and a handler.
|
EngineStreamSession(String name,
IEngine engine,
IStreamHandler handler,
ILogger logger)
Constructs a named stream-oriented session associated with a protocol
engine and a handler.
|
SSLSession(IStreamHandler handler,
boolean clientMode)
Constructs the SSL/TLS session associated with a handler.
|
SSLSession(SocketAddress remoteAddress,
IStreamHandler handler,
boolean clientMode)
Constructs the SSL/TLS session associated with a handler and a
remote peer.
|
SSLSession(String name,
IStreamHandler handler,
boolean clientMode)
Constructs the named SSL/TLS session associated with a handler.
|
SSLSession(String name,
SocketAddress remoteAddress,
IStreamHandler handler,
boolean clientMode)
Constructs the named SSL/TLS session associated with a handler and a
remote peer.
|
StreamSession(IStreamHandler handler)
Constructs a stream-oriented session associated with a handler.
|
StreamSession(String name,
IStreamHandler handler)
Constructs a named stream-oriented session associated with a handler.
|
Modifier and Type | Method and Description |
---|---|
protected abstract IStreamHandler |
AbstractSessionFactory.createHandler(SocketChannel channel)
Creates a stream-oriented handler for a newly accepted connection.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStreamHandler
Base implementation of the
IStreamHandler interface. |
Modifier and Type | Method and Description |
---|---|
IStreamHandler |
IStreamSession.getHandler()
Gets the stream-oriented handler associated with this session
|
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.