public interface ArmSystemAddress extends ArmToken
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
a hostname (characters, not null-terminated).
|
static short |
FORMAT_IPV4
an IPv4 address.
|
static short |
FORMAT_IPV4PORT
an IPv4 address and port number.
|
static short |
FORMAT_IPV6
an IPv6 address.
|
static short |
FORMAT_IPV6PORT
an IPv6 address and port number.
|
static short |
FORMAT_SNA
an SNA address.
|
static short |
FORMAT_UUID
a Universally-unique ID.
|
static short |
FORMAT_X25
an X.25 address.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getAddress() |
short |
getFormat() |
ArmID |
getID() |
copyBytes, copyBytes, getBytes, getLength
getErrorCode, getErrorMessage, setErrorCode
static final short FORMAT_HOSTNAME
Bytes 0:?? = hostname
static final short FORMAT_IPV4
static final short FORMAT_IPV4PORT
static final short FORMAT_IPV6
static final short FORMAT_IPV6PORT
static final short FORMAT_SNA
static final short FORMAT_X25
static final short FORMAT_UUID
byte[] getAddress()
newArmSystemAddress()
method of ArmTranReportFactory
.short getFormat()
newArmSystemAddress()
method of ArmTranReportFactory
.ArmID getID()
newArmSystemAddress()
method of ArmTranReportFactory
.