public class MappedResponseChangedSourceAddressReflectedFrom extends MessageAttribute
MessageAttributeInterface.MessageAttributeType
CHANGEDADDRESS, 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, typeToInteger
public MappedResponseChangedSourceAddressReflectedFrom()
public MappedResponseChangedSourceAddressReflectedFrom(MessageAttributeInterface.MessageAttributeType type)
public int getPort()
public Address getAddress()
public void setPort(int port) throws MessageAttributeException
MessageAttributeException
public void setAddress(Address address)
public byte[] getBytes() throws UtilityException
getBytes
in class MessageAttribute
UtilityException
protected static MappedResponseChangedSourceAddressReflectedFrom parse(MappedResponseChangedSourceAddressReflectedFrom ma, byte[] data) throws MessageAttributeParsingException
MessageAttributeParsingException