public class PcepRsvpUserErrorSpec extends Object implements PcepRsvpErrorSpec
| Modifier and Type | Field and Description |
|---|---|
static byte |
CLASS_NUM |
static byte |
CLASS_TYPE |
| Constructor and Description |
|---|
PcepRsvpUserErrorSpec(PcepRsvpSpecObjHeader objHeader,
int enterpriseNum,
byte subOrg,
byte errDescLen,
short userErrorValue,
byte[] errDesc,
LinkedList<PcepValueType> llRsvpUserSpecSubObj)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getClassNum()
Returns class number.
|
byte |
getClassType()
Returns class type.
|
short |
getLength()
Returns the Length of PCEP Message.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
static PcepRsvpErrorSpec |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object of PcepRsvpErrorSpec.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
To write the object information to channelBuffer.
|
public static final byte CLASS_NUM
public static final byte CLASS_TYPE
public PcepRsvpUserErrorSpec(PcepRsvpSpecObjHeader objHeader, int enterpriseNum, byte subOrg, byte errDescLen, short userErrorValue, byte[] errDesc, LinkedList<PcepValueType> llRsvpUserSpecSubObj)
objHeader - pcep rsvp spec object headerenterpriseNum - enterprise numbersubOrg - organization identifier valueerrDescLen - error description lengthuserErrorValue - user error valueerrDesc - error descriptionllRsvpUserSpecSubObj - list of subobjectspublic int write(org.jboss.netty.buffer.ChannelBuffer cb)
PcepRsvpErrorSpecwrite in interface PcepRsvpErrorSpecwrite in interface PcepValueTypecb - of type channel bufferpublic static PcepRsvpErrorSpec read(org.jboss.netty.buffer.ChannelBuffer cb) throws PcepParseException
cb - of type channel bufferPcepParseException - when expected object is not receivedpublic PcepVersion getVersion()
PcepValueTypegetVersion in interface PcepValueTypepublic short getType()
PcepValueTypegetType in interface PcepValueTypepublic short getLength()
PcepValueTypegetLength in interface PcepValueTypepublic byte getClassNum()
PcepRsvpErrorSpecgetClassNum in interface PcepRsvpErrorSpecpublic byte getClassType()
PcepRsvpErrorSpecgetClassType in interface PcepRsvpErrorSpecCopyright © 2015. All rights reserved.