public class SctpClientHandler extends SctpServerHandler
Constructor and Description |
---|
SctpClientHandler() |
Modifier and Type | Method and Description |
---|---|
void |
event(SessionEvent event)
Called to notify about a change of the associated session state.
|
ISctpSessionConfig |
getConfig()
Returns the configuration object that will be used to configure the
behavior 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.
|
exception, getFactory
getSession, notification, read, read, read, setSession
event, getName, incident, read, read, timer, timer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, read
public void event(SessionEvent event)
IHandler
event
in interface IHandler
event
in class AbstractHandler
event
- an event related with the change of the session stateSessionEvent
public void read(Object msg, com.sun.nio.sctp.MessageInfo msgInfo)
ISctpHandler
byte[]
and ByteBuffer
.read
in interface ISctpHandler
read
in class SctpServerHandler
msg
- the message that was received and decoded from the input
buffer.msgInfo
- additional ancillary information about the received message.public ISctpSessionConfig getConfig()
IHandler
getConfig
in interface IHandler
getConfig
in interface ISctpHandler
getConfig
in class SctpServerHandler
ISessionConfig
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.