|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ka2ddo.opentrac.TraceStep
public class TraceStep
This class defines one trace step in the OpenTracPathTrace element.
Field Summary | |
---|---|
java.lang.String |
callsign
Callsign of relaying station. |
byte |
networkId
Network of relaying station. |
static int |
SIZE
Number of bytes to encode a TraceStep. |
int |
ssid
SSID of relaying station. |
Constructor Summary | |
---|---|
TraceStep()
Construct an empty TraceStep. |
|
TraceStep(java.lang.String baseCallsign,
int ssid,
byte networkId)
Construct a TraceStep specifying the relay step taken. |
Method Summary | |
---|---|
int |
computeBody(byte[] buf,
int offset)
Append this element to a message buffer |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
valueString()
Get the string representation of the value of this element. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SIZE
public java.lang.String callsign
public int ssid
public byte networkId
OpenTracTypes.NETWORKTYPE_APRSIS
,
OpenTracTypes.NETWORKTYPE_HF
,
OpenTracTypes.NETWORKTYPE_UHF
,
OpenTracTypes.NETWORKTYPE_VHF
Constructor Detail |
---|
public TraceStep()
public TraceStep(java.lang.String baseCallsign, int ssid, byte networkId)
baseCallsign
- String callsign of the relaying stationssid
- int SSID of the relaying stationnetworkId
- the OpenTRAC network type used for the relayMethod Detail |
---|
public int computeBody(byte[] buf, int offset)
buf
- byte array to add the element tooffset
- starting index to store the element
public java.lang.String valueString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
equals(Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |