org.arm4.arm40.tranreport
public class ArmSystemAddress extends ArmToken implements ArmSystemAddress
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.
Version: $Revision$ $Date$
| Field Summary | |
|---|---|
| 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 |
| Constructor Summary | |
|---|---|
| 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.
| |
| Method Summary | |
|---|---|
| byte[] | getAddress() |
| short | getFormat() |
| ArmID | getID() |
Parameters: format addressBytes id
Parameters: format addressBytes offset id
Parameters: format addressBytes offset length id