Class ChangeRequest
java.lang.Object
de.javawi.jstun.attribute.MessageAttribute
de.javawi.jstun.attribute.ChangeRequest
- All Implemented Interfaces:
MessageAttributeInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface MessageAttributeInterface
MessageAttributeInterface.MessageAttributeType -
Field Summary
Fields inherited from interface MessageAttributeInterface
CHANGEDADDRESS, CHANGEREQUEST, DUMMY, ERRORCODE, MAPPEDADDRESS, MESSAGEINTEGRITY, PASSWORD, REFLECTEDFROM, RESPONSEADDRESS, SOURCEADDRESS, UNKNOWNATTRIBUTE, USERNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()booleanbooleanstatic ChangeRequestparse(byte[] data) voidvoidMethods inherited from class MessageAttribute
getLength, getType, intToType, parseCommonHeader, setType, typeToInteger
-
Constructor Details
-
ChangeRequest
public ChangeRequest()
-
-
Method Details
-
isChangeIP
public boolean isChangeIP() -
isChangePort
public boolean isChangePort() -
setChangeIP
public void setChangeIP() -
setChangePort
public void setChangePort() -
getBytes
- Specified by:
getBytesin classMessageAttribute- Throws:
UtilityException
-
parse
- Throws:
MessageAttributeParsingException
-