public class ChangeRequest extends MessageAttribute
MessageAttributeInterface.MessageAttributeType
CHANGEDADDRESS, CHANGEREQUEST, DUMMY, ERRORCODE, MAPPEDADDRESS, MESSAGEINTEGRITY, PASSWORD, REFLECTEDFROM, RESPONSEADDRESS, SOURCEADDRESS, UNKNOWNATTRIBUTE, USERNAME
Constructor and Description |
---|
ChangeRequest() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
boolean |
isChangeIP() |
boolean |
isChangePort() |
static ChangeRequest |
parse(byte[] data) |
void |
setChangeIP() |
void |
setChangePort() |
getLength, getType, intToType, parseCommonHeader, setType, typeToInteger
public boolean isChangeIP()
public boolean isChangePort()
public void setChangeIP()
public void setChangePort()
public byte[] getBytes() throws UtilityException
getBytes
in class MessageAttribute
UtilityException
public static ChangeRequest parse(byte[] data) throws MessageAttributeParsingException
MessageAttributeParsingException