public class MappedResponseChangedSourceAddressReflectedFrom extends MessageAttribute
MessageAttributeInterface.MessageAttributeTypeCHANGEDADDRESS, CHANGEREQUEST, DUMMY, ERRORCODE, MAPPEDADDRESS, MESSAGEINTEGRITY, PASSWORD, REFLECTEDFROM, RESPONSEADDRESS, SOURCEADDRESS, UNKNOWNATTRIBUTE, USERNAME| Constructor and Description |
|---|
MappedResponseChangedSourceAddressReflectedFrom() |
MappedResponseChangedSourceAddressReflectedFrom(MessageAttributeInterface.MessageAttributeType type) |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress() |
byte[] |
getBytes() |
int |
getPort() |
protected static MappedResponseChangedSourceAddressReflectedFrom |
parse(MappedResponseChangedSourceAddressReflectedFrom ma,
byte[] data) |
void |
setAddress(Address address) |
void |
setPort(int port) |
String |
toString() |
getLength, getType, intToType, parseCommonHeader, setType, typeToIntegerpublic MappedResponseChangedSourceAddressReflectedFrom()
public MappedResponseChangedSourceAddressReflectedFrom(MessageAttributeInterface.MessageAttributeType type)
public int getPort()
public Address getAddress()
public void setPort(int port)
throws MessageAttributeException
MessageAttributeExceptionpublic void setAddress(Address address)
public byte[] getBytes()
throws UtilityException
getBytes in class MessageAttributeUtilityExceptionprotected static MappedResponseChangedSourceAddressReflectedFrom parse(MappedResponseChangedSourceAddressReflectedFrom ma, byte[] data) throws MessageAttributeParsingException
MessageAttributeParsingException