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.
|
org.snf4j.example.sctp |
An SCTP client/server example.
|
Modifier and Type | Method and Description |
---|---|
static IFuture<Void> |
SctpRegistrator.register(SelectorLoop loop,
com.sun.nio.sctp.SctpChannel channel,
ISctpHandler handler)
Registers an SCTP channel with the specified selector loop.
|
static IFuture<Void> |
SctpRegistrator.register(SelectorLoop loop,
com.sun.nio.sctp.SctpMultiChannel channel,
ISctpHandler handler)
Registers an SCTP multi channel with the specified selector loop.
|
Constructor and Description |
---|
SctpSession(ISctpHandler handler)
Constructs an SCTP session associated with a handler.
|
SctpSession(String name,
ISctpHandler handler)
Constructs a named SCTP session associated with a handler.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ISctpHandler |
AbstractSctpSessionFactory.createHandler(com.sun.nio.sctp.SctpChannel channel)
Creates an SCTP handler for a newly accepted connection.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSctpHandler
Base implementation of the
ISctpHandler interface. |
Modifier and Type | Method and Description |
---|---|
ISctpHandler |
ISctpSession.getHandler()
Gets the SCTP handler associated with this session
|
Modifier and Type | Class and Description |
---|---|
class |
SctpClientHandler |
class |
SctpServerHandler |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.