Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of the
API.
|
org.snf4j.example.engine |
A custimized protocol engine (for Caesar Cipher) client/server example.
|
Modifier and Type | Method and Description |
---|---|
protected IEngine |
DTLSServerHandler.createEngine(SocketAddress remoteAddress,
ISessionConfig config)
Determines if a newly created session should be a DTLS session driven by the
SSLEngine created by the config.createSSLEngine() method. |
protected IEngine |
DatagramServerHandler.createEngine(SocketAddress remoteAddress,
ISessionConfig config)
Determines if newly created session should be an engine-driver session.
|
Constructor and Description |
---|
EngineDatagramSession(IEngine engine,
IDatagramHandler handler,
ILogger logger)
Constructs a datagram-oriented session associated with a protocol engine and
a handler.
|
EngineDatagramSession(IEngine engine,
SocketAddress remoteAddress,
IDatagramHandler handler,
ILogger logger)
Constructs a datagram-oriented session associated with a protocol engine and
a handler.
|
EngineDatagramSession(String name,
IEngine engine,
IDatagramHandler handler,
ILogger logger)
Constructs a named datagram-oriented session associated with a protocol
engine and a handler.
|
EngineDatagramSession(String name,
IEngine engine,
SocketAddress remoteAddress,
IDatagramHandler handler,
ILogger logger)
Constructs a named datagram-oriented session associated with a protocol
engine and a handler.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEngine |
class |
BasicEngine |
class |
CloseableEngine |
class |
HandshakingEngine |
Modifier and Type | Method and Description |
---|---|
static IEngine |
EngineFactory.create(int engine,
int offset,
boolean clientMode) |
Constructor and Description |
---|
EngineSession(IEngine engine,
IStreamHandler handler) |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.