public class PcepRsvpIpv6ErrorSpec extends Object implements PcepRsvpErrorSpec
| Modifier and Type | Field and Description |
|---|---|
static byte |
CLASS_LENGTH |
static byte |
CLASS_NUM |
static byte |
CLASS_TYPE |
static byte |
IPV6_LEN |
| Constructor and Description |
|---|
PcepRsvpIpv6ErrorSpec(byte[] ipv6Addr,
byte flags,
byte errCode,
short errValue)
Constructor to initialize ipv6 addr, flags, err code and err value.
|
PcepRsvpIpv6ErrorSpec(PcepRsvpSpecObjHeader objHeader,
byte[] ipv6Addr,
byte flags,
byte errCode,
short errValue)
Constructor to initialize obj header, ipv6 addr, flags, err code and err value.
|
| 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)
Returns PCEP rsvp IPv6 error spce object.
|
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 static final byte CLASS_LENGTH
public static final byte IPV6_LEN
public PcepRsvpIpv6ErrorSpec(PcepRsvpSpecObjHeader objHeader, byte[] ipv6Addr, byte flags, byte errCode, short errValue)
objHeader - rsvp ipv6 error spec object headeripv6Addr - ipv6 addressflags - flags valueerrCode - error codeerrValue - error valuepublic PcepRsvpIpv6ErrorSpec(byte[] ipv6Addr,
byte flags,
byte errCode,
short errValue)
ipv6Addr - ipv6 addressflags - flags valueerrCode - error codeerrValue - error valuepublic 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)
cb - channel bufferpublic 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.