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