public class ErrorSpecIPv4 extends ErrorSpec
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_SPEC_FLAG_GUILTY |
static int |
ERROR_SPEC_FLAG_IN_PLACE |
protected int |
errorCode |
protected Inet4Address |
errorNodeAddress |
protected int |
errorValue |
protected int |
flags |
bytes, classNum, cType, length| Constructor and Description |
|---|
ErrorSpecIPv4() |
ErrorSpecIPv4(Inet4Address 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
|
boolean |
equals(Object obj) |
int |
getErrorCode() |
Inet4Address |
getErrorNodeAddress() |
int |
getErrorValue() |
int |
getFlags() |
int |
hashCode() |
void |
setErrorCode(int errorCode) |
void |
setErrorNodeAddress(Inet4Address errorNodeAddress) |
void |
setErrorValue(int errorValue) |
void |
setFlags(int flags) |
decodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLengthprotected Inet4Address errorNodeAddress
protected int flags
protected int errorCode
protected int errorValue
public static final int ERROR_SPEC_FLAG_IN_PLACE
public static final int ERROR_SPEC_FLAG_GUILTY
public ErrorSpecIPv4()
public ErrorSpecIPv4(Inet4Address errorNodeAddress, int flags, int errorCode, int errorValue)
public void encodeHeader()
RSVPObjectencodeHeader in class ErrorSpecpublic void encode()
RSVPElementencode in interface RSVPElementencode in class ErrorSpecpublic void decodeHeader()
decodeHeader in class ErrorSpecpublic Inet4Address getErrorNodeAddress()
public void setErrorNodeAddress(Inet4Address 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.