|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ka2ddo.opentrac.OpenTracParser
public class OpenTracParser
Constructor Summary | |
---|---|
OpenTracParser()
|
Method Summary | |
---|---|
static OpenTracParser |
getInstance()
|
AX25Message |
parse(byte[] body,
AX25Callsign src,
AX25Callsign dest,
long rcvTimestamp,
Connector connector)
Parse a message to the appropriate object class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenTracParser()
Method Detail |
---|
public static OpenTracParser getInstance()
public AX25Message parse(byte[] body, AX25Callsign src, AX25Callsign dest, long rcvTimestamp, Connector connector)
parse
in interface AX25Parser
body
- byte array containing the message to be parsedsrc
- AX25Callsign of the sending stationdest
- AX25Callsign of the destination (probably an APRS alias)rcvTimestamp
- the time in Java/Unix milliseconds since midnight Jan 1, 1970 UTC when this
message was actually received (as opposed to any timestamp that might be
embedded in the message body)connector
- Connector over which the message was received (null if from a file)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |