|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArmSystemAddress
Encapsulates the network addressing information for a system.
It may be used with 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)
.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
byte[] |
getAddress()
|
short |
getFormat()
|
ArmID |
getID()
|
Methods inherited from interface org.opengroup.arm40.transaction.ArmToken |
---|
copyBytes, copyBytes, getBytes, getLength |
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface |
---|
getErrorCode, getErrorMessage, setErrorCode |
Field Detail |
---|
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
Method Detail |
---|
byte[] getAddress()
newArmSystemAddress()
method of ArmTranReportFactory
.short getFormat()
newArmSystemAddress()
method of ArmTranReportFactory
.ArmID getID()
newArmSystemAddress()
method of ArmTranReportFactory
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |