Package org.red5.io.sctp.packet.chunks
Class Init
- java.lang.Object
-
- org.red5.io.sctp.packet.chunks.Chunk
-
- org.red5.io.sctp.packet.chunks.Init
-
public class Init extends Chunk
-
-
Field Summary
-
Fields inherited from class org.red5.io.sctp.packet.chunks.Chunk
CHUNK_HEADER_SIZE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(InetSocketAddress address, IServerChannelControl server)voidapply(IAssociationControl association)intgetAdvertisedReceiverWindowCredit()byte[]getBytes()intgetInitialTSN()intgetInitiateTag()intgetNumberOfInboundStreams()intgetNumberOfOutboundStreams()intgetSize()
-
-
-
Constructor Detail
-
Init
public Init(int initialTSN, int initiateTag)
-
Init
public Init(byte[] data, int offset, int length) throws SctpException- Throws:
SctpException
-
-
Method Detail
-
getInitiateTag
public int getInitiateTag()
-
getAdvertisedReceiverWindowCredit
public int getAdvertisedReceiverWindowCredit()
-
getNumberOfOutboundStreams
public int getNumberOfOutboundStreams()
-
getNumberOfInboundStreams
public int getNumberOfInboundStreams()
-
getInitialTSN
public int getInitialTSN()
-
apply
public void apply(InetSocketAddress address, IServerChannelControl server) throws SctpException, InvalidKeyException, NoSuchAlgorithmException, IOException
- Specified by:
applyin classChunk- Throws:
SctpExceptionInvalidKeyExceptionNoSuchAlgorithmExceptionIOException
-
apply
public void apply(IAssociationControl association) throws SctpException
- Specified by:
applyin classChunk- Throws:
SctpException
-
-