public class ChangeRequest extends MessageAttribute
MessageAttributeInterface.MessageAttributeTypeCHANGEDADDRESS, 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, typeToIntegerpublic boolean isChangeIP()
public boolean isChangePort()
public void setChangeIP()
public void setChangePort()
public byte[] getBytes()
throws UtilityException
getBytes in class MessageAttributeUtilityExceptionpublic static ChangeRequest parse(byte[] data) throws MessageAttributeParsingException
MessageAttributeParsingException