Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of 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 |
---|---|
ISessionConfig |
DatagramServerHandler.getConfig() |
Modifier and Type | Method and Description |
---|---|
protected IEngine |
DatagramServerHandler.createEngine(SocketAddress remoteAddress,
ISessionConfig config)
Determines if newly created session should be an engine-driver session.
|
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. |
Constructor and Description |
---|
DatagramServerHandler(IDatagramHandlerFactory handlerFactory,
ISessionConfig config)
Constructs a datagram server handler with the
DefaultSessionStructureFactory . |
DatagramServerHandler(IDatagramHandlerFactory handlerFactory,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a datagram server handler.
|
DTLSServerHandler(IDatagramHandlerFactory handlerFactory,
ISessionConfig config)
Constructs a DTLS server handler with the
DefaultSessionConfig . |
DTLSServerHandler(IDatagramHandlerFactory handlerFactory,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a DTLS server handler.
|
Modifier and Type | Method and Description |
---|---|
ISessionConfig |
IHandler.getConfig()
Returns the configuration object that will be used to configure the
behavior of the associated session.
|
ISessionConfig |
AbstractHandler.getConfig() |
Constructor and Description |
---|
AbstractHandler(ISessionConfig config)
Default constructor creating an unnamed handler with given session
configuration object.
|
AbstractHandler(String name,
ISessionConfig config)
Constructor creating a named handler with given session configuration object.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSessionConfig
Default configuration for the session.
|
Modifier and Type | Method and Description |
---|---|
ISessionConfig |
ISession.getConfig()
Gets the configuration of this session.
|
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.