Package org.red5.io.sctp.packet
Class SctpPacket
- java.lang.Object
-
- org.red5.io.sctp.packet.SctpPacket
-
public class SctpPacket extends Object
-
-
Constructor Summary
Constructors Constructor Description SctpPacket(byte[] data, int offset, int length)SctpPacket(int sourcePort, int destinationPort, int verificationTag, Chunk chunk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(InetSocketAddress address, IServerChannelControl server)voidapply(IAssociationControl association)byte[]getBytes()intgetSourcePort()intgetVerificationTag()
-
-
-
Constructor Detail
-
SctpPacket
public SctpPacket(byte[] data, int offset, int length) throws SctpException- Throws:
SctpException
-
SctpPacket
public SctpPacket(int sourcePort, int destinationPort, int verificationTag, Chunk chunk)
-
-
Method Detail
-
apply
public void apply(InetSocketAddress address, IServerChannelControl server) throws SctpException, IOException, InvalidKeyException, NoSuchAlgorithmException
-
apply
public void apply(IAssociationControl association) throws SctpException, IOException, InvalidKeyException, NoSuchAlgorithmException
-
getBytes
public byte[] getBytes()
-
getSourcePort
public int getSourcePort()
-
getVerificationTag
public int getVerificationTag()
-
-