@FunctionalInterface
public interface AX25Parser
AX25Frame.pid| Modifier and Type | Method and Description |
|---|---|
AX25Message |
parse(byte[] body,
AX25Callsign src,
AX25Callsign dest,
AX25Callsign[] digipeaters,
long rcvTimestamp,
Connector connector)
Parse a message to the appropriate object class.
|
AX25Message parse(byte[] body, AX25Callsign src, AX25Callsign dest, AX25Callsign[] digipeaters, long rcvTimestamp, Connector connector)
body - byte array containing the message to be parsedsrc - AX25Callsign of the sending stationdest - AX25Callsign of the destination (probably an APRS alias)digipeaters - array of AX25Callsigns for RF digipeaters, or null if nonercvTimestamp - 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)