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 | Class and Description |
---|---|
class |
DatagramServerHandler
Datagram server handler providing functionality to handle multiple remote
hosts via a single datagram-orinted session.
|
class |
DTLSServerHandler
DTLS server handler providing functionality to handle multiple remote
hosts via a single datagram-orinted session.
|
Modifier and Type | Method and Description |
---|---|
IDatagramHandler |
EngineDatagramSession.getHandler() |
IDatagramHandler |
DatagramSession.getHandler() |
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
SelectorLoop.register(DatagramChannel channel,
IDatagramHandler handler)
Registers a datagram-oriented channel with this selector loop.
|
Constructor and Description |
---|
DatagramSession(IDatagramHandler handler)
Constructs a datagram-oriented session associated with a handler.
|
DatagramSession(String name,
IDatagramHandler handler)
Constructs a named datagram-oriented session associated with a handler.
|
DTLSSession(IDatagramHandler handler,
boolean clientMode)
Constructs a DTLS session associated with a handler.
|
DTLSSession(SocketAddress remoteAddress,
IDatagramHandler handler,
boolean clientMode)
Constructs a DTLS session associated with a handler.
|
DTLSSession(String name,
IDatagramHandler handler,
boolean clientMode)
Constructs a named DTLS session associated with a handler.
|
DTLSSession(String name,
SocketAddress remoteAddress,
IDatagramHandler handler,
boolean clientMode)
Constructs a named DTLS session associated with a handler.
|
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.
|
Modifier and Type | Method and Description |
---|---|
IDatagramHandler |
IDatagramHandlerFactory.create(SocketAddress remoteAddress)
Creates a datagram handler that will be associated with a
datagram-oriented session created by
DatagramServerHandler after
receiving first data from a remote host. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatagramHandler
Base implementation of the
IDatagramHandler interface. |
Modifier and Type | Method and Description |
---|---|
IDatagramHandler |
IDatagramSession.getHandler()
Gets the datagram-oriented handler associated with this session
|
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.