public interface ISctpSessionFactory
SctpServerChannel being registered with the
selector loop.| Modifier and Type | Method and Description |
|---|---|
void |
closed(com.sun.nio.sctp.SctpServerChannel channel)
Notifies about closing and unregistering of a listening channel.
|
SctpSession |
create(com.sun.nio.sctp.SctpChannel channel)
Creates an SCTP session for a newly accepted connection.
|
void |
exception(com.sun.nio.sctp.SctpServerChannel channel,
Throwable exception)
Notifies about an exception caught during processing of a listening
channel.
|
void |
registered(com.sun.nio.sctp.SctpServerChannel channel)
Notifies about registration of a listening channel.
|
SctpSession create(com.sun.nio.sctp.SctpChannel channel) throws Exception
channel - the SCTP channel associated with the accepted connection.Exception - when an SCTP session could not be createdvoid registered(com.sun.nio.sctp.SctpServerChannel channel)
channel - the listening channel that has been registeredvoid closed(com.sun.nio.sctp.SctpServerChannel channel)
channel - the listening channel that has been closedvoid exception(com.sun.nio.sctp.SctpServerChannel channel,
Throwable exception)
channel - the listening channel for witch the exception was caughtexception - the exception that was caughtCopyright © 2017–2022 SNF4J.ORG. All rights reserved.