public class SctpServerHandler extends AbstractSctpHandler
| Constructor and Description |
|---|
SctpServerHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
exception(Throwable t)
Called to notify about an exception caught during processing of I/O or
protocol related operations.
|
ISctpSessionConfig |
getConfig()
Returns the configuration object that will be used to configure the
behavior of the associated session.
|
ISessionStructureFactory |
getFactory()
Returns the factory object that will be used to configure the internal
structure of the associated session.
|
void |
read(Object msg,
com.sun.nio.sctp.MessageInfo msgInfo)
Called when a new message was received and decoded from the input buffer.
|
getSession, notification, read, read, read, setSessionevent, event, getName, incident, read, read, timer, timerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, readpublic void read(Object msg, com.sun.nio.sctp.MessageInfo msgInfo)
ISctpHandlerbyte[] and ByteBuffer.msg - the message that was received and decoded from the input
buffer.msgInfo - additional ancillary information about the received message.public void exception(Throwable t)
IHandlerexception in interface IHandlerexception in class AbstractHandlert - the exception caughtpublic ISctpSessionConfig getConfig()
IHandlergetConfig in interface IHandlergetConfig in interface ISctpHandlergetConfig in class AbstractSctpHandlerISessionConfigpublic ISessionStructureFactory getFactory()
IHandlergetFactory in interface IHandlergetFactory in class AbstractHandlerISessionStructureFactoryCopyright © 2017–2022 SNF4J.ORG. All rights reserved.