Package org.red5.io.sctp.packet.chunks
Class CookieEcho
- java.lang.Object
-
- org.red5.io.sctp.packet.chunks.Chunk
-
- org.red5.io.sctp.packet.chunks.CookieEcho
-
public class CookieEcho extends Chunk
-
-
Field Summary
-
Fields inherited from class org.red5.io.sctp.packet.chunks.Chunk
CHUNK_HEADER_SIZE
-
-
Constructor Summary
Constructors Constructor Description CookieEcho(byte[] cookie)CookieEcho(byte[] data, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(InetSocketAddress address, IServerChannelControl server)voidapply(IAssociationControl channel)byte[]getBytes()
-
-
-
Constructor Detail
-
CookieEcho
public CookieEcho(byte[] data, int offset, int length) throws SctpException- Throws:
SctpException
-
CookieEcho
public CookieEcho(byte[] cookie)
-
-
Method Detail
-
apply
public void apply(IAssociationControl channel) throws SctpException, IOException
- Specified by:
applyin classChunk- Throws:
SctpExceptionIOException
-
apply
public void apply(InetSocketAddress address, IServerChannelControl server) throws SctpException, InvalidKeyException, NoSuchAlgorithmException, IOException
- Specified by:
applyin classChunk- Throws:
SctpExceptionInvalidKeyExceptionNoSuchAlgorithmExceptionIOException
-
-