public class ArmSystemAddress extends ArmToken implements ArmSystemAddress
ArmTranReport if the reported
transaction executed on a different system.
null.
The fields are set using the newArmSystemAddress() method
of ArmTranReportFactory or the
getArmSystemAddress() method of ArmSystem.
There are no setter methods for the individual fields. The object is
immutable.
Implementations of this interface should also override
equals() and hashCode() from
java.lang.Object.
equals(Object obj), a method inherited from
java.lang.Object, returns true if the internal
data is byte-for-byte identical in two objects. For example,
a.equals(b) returns true if and only if:
a and b implement ArmSystemAddress.
a.getBytes() and
b.getBytes() would return byte arrays of identical lengths
and contents.
a.getFormat() and b.getFormat() would return
identical values.
ArmTranReportFactory.newArmSystemAddress(short, byte[], org.opengroup.arm40.transaction.ArmID).| Modifier and Type | Field and Description |
|---|---|
static short |
FORMAT_HOSTNAME |
static short |
FORMAT_IPV4 |
static short |
FORMAT_IPV4PORT |
static short |
FORMAT_IPV6 |
static short |
FORMAT_IPV6PORT |
static short |
FORMAT_SNA |
static short |
FORMAT_UUID |
static short |
FORMAT_X25 |
protected short |
m_addressFormat |
protected ArmID |
m_addressId |
HASHKEY_MAX, m_hashkey, m_hashkeyGenerated, m_tokenDatam_errorCode, m_factory| Constructor and Description |
|---|
ArmSystemAddress(short format,
byte[] addressBytes,
ArmID id)
Create ARM System Address.
|
ArmSystemAddress(short format,
byte[] addressBytes,
int offset,
ArmID id)
Create ARM System Address.
|
ArmSystemAddress(short format,
byte[] addressBytes,
int offset,
int length,
ArmID id)
Create ARM System Address.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAddress() |
short |
getFormat() |
ArmID |
getID() |
compare, copyBytes, copyBytes, getByte, getBytes, getLength, hashCodegetErrorCode, getErrorMessage, getFactory, setErrorCode, setFactoryclone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcopyBytes, copyBytes, getBytes, getLengthgetErrorCode, getErrorMessage, setErrorCodepublic static final short FORMAT_IPV4
public static final short FORMAT_IPV4PORT
public static final short FORMAT_IPV6
public static final short FORMAT_IPV6PORT
public static final short FORMAT_SNA
public static final short FORMAT_X25
public static final short FORMAT_HOSTNAME
public static final short FORMAT_UUID
protected short m_addressFormat
protected ArmID m_addressId
public ArmSystemAddress(short format,
byte[] addressBytes,
ArmID id)
format - addressBytes - id - public ArmSystemAddress(short format,
byte[] addressBytes,
int offset,
ArmID id)
format - addressBytes - offset - id - public ArmSystemAddress(short format,
byte[] addressBytes,
int offset,
int length,
ArmID id)
format - addressBytes - offset - length - id - public byte[] getAddress()
getAddress in interface ArmSystemAddressnewArmSystemAddress()
method of ArmTranReportFactory.public short getFormat()
getFormat in interface ArmSystemAddressnewArmSystemAddress()
method of ArmTranReportFactory.public ArmID getID()
getID in interface ArmSystemAddressnewArmSystemAddress()
method of ArmTranReportFactory.