public class RSVPPathErrMessage extends RSVPMessage
bytes, flags, length, msgType, reserved, rsvpChecksum, sendTTL, vers
Constructor and Description |
---|
RSVPPathErrMessage()
Constructor that has to be used in case of creating a new Path Error Message to
be sent.
|
RSVPPathErrMessage(byte[] bytes,
int length)
Constructor to be used in case of creating a new Path Error message to be decoded
|
Modifier and Type | Method and Description |
---|---|
void |
addSenderDescriptor(SenderDescriptor senderDescriptor) |
void |
decode() |
void |
encode()
Generic method to encode an RSVP element
|
void |
encodeHeader() |
ErrorSpec |
getErrorSpec() |
Integrity |
getIntegrity() |
LinkedList<PolicyData> |
getPolicyData() |
LinkedList<SenderDescriptor> |
getSenderDescriptors() |
Session |
getSession() |
void |
setErrorSpec(ErrorSpec errorSpec) |
void |
setIntegrity(Integrity integrity) |
void |
setPolicyData(LinkedList<PolicyData> policyData) |
void |
setSenderDescriptors(LinkedList<SenderDescriptor> senderDescriptors) |
void |
setSession(Session session) |
calculateChecksum, decodeHeader, getBytes, getFlags, getLength, getMsgLength, getMsgType, getMsgType, getReserved, getRsvpChecksum, getSendTTL, getVers, setBytes, setFlags, setLength, setMsgType, setReserved, setRsvpChecksum, setSendTTL, setVers
public RSVPPathErrMessage()
public RSVPPathErrMessage(byte[] bytes, int length)
bytes
- length
- public void encodeHeader()
encodeHeader
in class RSVPMessage
public void encode() throws RSVPProtocolViolationException
RSVPElement
encode
in interface RSVPElement
encode
in class RSVPMessage
RSVPProtocolViolationException
public void decode() throws RSVPProtocolViolationException
decode
in class RSVPMessage
RSVPProtocolViolationException
public void addSenderDescriptor(SenderDescriptor senderDescriptor)
senderDescriptor
- public Integrity getIntegrity()
public void setIntegrity(Integrity integrity)
public Session getSession()
public void setSession(Session session)
public ErrorSpec getErrorSpec()
public void setErrorSpec(ErrorSpec errorSpec)
public LinkedList<PolicyData> getPolicyData()
public void setPolicyData(LinkedList<PolicyData> policyData)
public LinkedList<SenderDescriptor> getSenderDescriptors()
public void setSenderDescriptors(LinkedList<SenderDescriptor> senderDescriptors)
Copyright © 2016. All rights reserved.