public abstract class MessageAttribute extends Object implements MessageAttributeInterface
MessageAttributeInterface.MessageAttributeType
CHANGEDADDRESS, CHANGEREQUEST, DUMMY, ERRORCODE, MAPPEDADDRESS, MESSAGEINTEGRITY, PASSWORD, REFLECTEDFROM, RESPONSEADDRESS, SOURCEADDRESS, UNKNOWNATTRIBUTE, USERNAME
Constructor and Description |
---|
MessageAttribute() |
MessageAttribute(MessageAttributeInterface.MessageAttributeType type) |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
getBytes() |
int |
getLength() |
MessageAttributeInterface.MessageAttributeType |
getType() |
static MessageAttributeInterface.MessageAttributeType |
intToType(long type) |
static MessageAttribute |
parseCommonHeader(byte[] data) |
void |
setType(MessageAttributeInterface.MessageAttributeType type) |
static int |
typeToInteger(MessageAttributeInterface.MessageAttributeType type) |
public MessageAttribute()
public MessageAttribute(MessageAttributeInterface.MessageAttributeType type)
public void setType(MessageAttributeInterface.MessageAttributeType type)
public MessageAttributeInterface.MessageAttributeType getType()
public static int typeToInteger(MessageAttributeInterface.MessageAttributeType type)
public static MessageAttributeInterface.MessageAttributeType intToType(long type)
public abstract byte[] getBytes() throws UtilityException
UtilityException
public int getLength() throws UtilityException
UtilityException
public static MessageAttribute parseCommonHeader(byte[] data) throws MessageAttributeParsingException
MessageAttributeParsingException