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, setSession
event, event, getName, incident, read, read, timer, timer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, read
public void read(Object msg, com.sun.nio.sctp.MessageInfo msgInfo)
ISctpHandler
byte[]
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)
IHandler
exception
in interface IHandler
exception
in class AbstractHandler
t
- the exception caughtpublic ISctpSessionConfig getConfig()
IHandler
getConfig
in interface IHandler
getConfig
in interface ISctpHandler
getConfig
in class AbstractSctpHandler
ISessionConfig
public ISessionStructureFactory getFactory()
IHandler
getFactory
in interface IHandler
getFactory
in class AbstractHandler
ISessionStructureFactory
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.