public class ErrorSpecIPv6 extends ErrorSpec
Modifier and Type | Field and Description |
---|---|
protected int |
errorCode |
protected Inet6Address |
errorNodeAddress |
protected int |
errorValue |
protected int |
flags |
bytes, classNum, cType, length
Constructor and Description |
---|
ErrorSpecIPv6() |
ErrorSpecIPv6(Inet6Address errorNodeAddress,
int flags,
int errorCode,
int errorValue) |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset) |
void |
decodeHeader() |
void |
encode()
Generic method to encode an RSVP element
|
void |
encodeHeader()
Common RSVP Objects Header encoding method
|
int |
getErrorCode() |
Inet6Address |
getErrorNodeAddress() |
int |
getErrorValue() |
int |
getFlags() |
void |
setErrorCode(int errorCode) |
void |
setErrorNodeAddress(Inet6Address errorNodeAddress) |
void |
setErrorValue(int errorValue) |
void |
setFlags(int flags) |
decodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLength
protected Inet6Address errorNodeAddress
protected int flags
protected int errorCode
protected int errorValue
public ErrorSpecIPv6()
public ErrorSpecIPv6(Inet6Address errorNodeAddress, int flags, int errorCode, int errorValue)
public void encodeHeader()
RSVPObject
encodeHeader
in class ErrorSpec
public void encode()
RSVPElement
encode
in interface RSVPElement
encode
in class ErrorSpec
public void decodeHeader()
decodeHeader
in class ErrorSpec
public Inet6Address getErrorNodeAddress()
public void setErrorNodeAddress(Inet6Address errorNodeAddress)
public int getFlags()
public void setFlags(int flags)
public int getErrorCode()
public void setErrorCode(int errorCode)
public int getErrorValue()
public void setErrorValue(int errorValue)
Copyright © 2016. All rights reserved.