|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.discotools.io.AbstractPacket
org.discotools.io.aprs.AprsPacket
org.discotools.io.aprs.AprsReport
public class AprsReport
APRS Report class
Field Summary | |
---|---|
protected String |
dstCall
Destination call sign |
protected AprsExtension |
extension
AprsExtension instance |
protected boolean |
isThirdParty
Third-party header flag |
protected boolean |
isTimeEstimate
Time stamp estimate flag (assign from station or parser) |
protected boolean |
isTNC2
TNC_2 header format flag |
protected String |
path
The path of nodes which this report has visited |
protected String |
srcCall
Source call sign. |
protected char |
symbolCode
The APRS symbol code (symbol table lookup) |
protected char |
symbolOverlay
The APRS symbol overlay |
protected int |
symbolTable
The APRS symbol table identifier |
Fields inherited from class org.discotools.io.aprs.AprsPacket |
---|
comment |
Fields inherited from class org.discotools.io.AbstractPacket |
---|
crc32, crc32Time, error, isDuplicate, isUnknown, isValid, payload, time, type, UNKNOWN |
Constructor Summary | |
---|---|
AprsReport(AprsReport report,
String payload)
|
|
AprsReport(AprsReportType type,
AprsReport report)
|
|
AprsReport(AprsReportType type,
String payload)
|
|
AprsReport(String payload)
|
Method Summary | |
---|---|
protected static String |
concat(String s1,
String s2)
|
protected static boolean |
empty(String value)
|
protected long |
getCRS32Age()
|
String |
getDstCall()
|
String |
getDstSSID()
|
AprsExtension |
getExtension()
|
String |
getPath()
|
String |
getSrcCall()
|
String |
getSrcSSID()
|
AprsSymbol |
getSymbol()
|
char |
getSymbolCode()
|
char |
getSymbolOverlay()
|
int |
getSymbolTable()
|
AprsReportType |
getType()
|
boolean |
isComplete()
|
boolean |
isExtension(AprsExtensionType type)
|
boolean |
isThirdParty()
|
boolean |
isTimeEstimate()
|
boolean |
isTNC2()
|
protected long |
setCRS32()
|
protected void |
setDstCall(String dstCall)
|
protected void |
setDuplicate(boolean isDuplicate)
|
protected void |
setEstimate(boolean isEstimate)
|
protected void |
setExtension(AprsExtension extension)
|
protected void |
setHeaderType(boolean isTNC2,
boolean isThirdParty)
|
protected void |
setPath(String path)
|
protected void |
setSrcCall(String srcCall)
|
protected void |
setSymbol(int table,
char code,
char overlay)
|
protected void |
setTime(long milliseconds)
|
protected void |
setTime(Long milliseconds,
boolean isEstimate)
|
String |
toString()
|
Methods inherited from class org.discotools.io.aprs.AprsPacket |
---|
getComment, setComment, setValid, setValid |
Methods inherited from class org.discotools.io.AbstractPacket |
---|
getBytes, getCRS32, getError, getPayload, getTime, isDuplicate, isType, isUnknown, isValid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String srcCall
protected String dstCall
protected String path
protected int symbolTable
protected char symbolCode
protected char symbolOverlay
protected boolean isTimeEstimate
protected boolean isTNC2
protected boolean isThirdParty
protected AprsExtension extension
AprsExtension
instance
Constructor Detail |
---|
public AprsReport(String payload)
public AprsReport(AprsReportType type, String payload)
public AprsReport(AprsReport report, String payload)
public AprsReport(AprsReportType type, AprsReport report)
Method Detail |
---|
public AprsReportType getType()
getType
in interface org.discotools.io.Packet
getType
in class org.discotools.io.AbstractPacket
public String getSrcCall()
public String getSrcSSID()
public String getDstCall()
public String getDstSSID()
public String getPath()
public int getSymbolTable()
public char getSymbolCode()
public char getSymbolOverlay()
public AprsSymbol getSymbol()
public boolean isTimeEstimate()
public boolean isTNC2()
public boolean isThirdParty()
public AprsExtension getExtension()
public boolean isExtension(AprsExtensionType type)
public String toString()
toString
in class AprsPacket
public boolean isComplete()
isComplete
in interface org.discotools.io.Packet
isComplete
in class AprsPacket
protected void setTime(Long milliseconds, boolean isEstimate)
protected void setSrcCall(String srcCall)
protected void setDstCall(String dstCall)
protected void setPath(String path)
protected void setHeaderType(boolean isTNC2, boolean isThirdParty)
protected void setSymbol(int table, char code, char overlay)
protected void setEstimate(boolean isEstimate)
protected void setExtension(AprsExtension extension)
protected static boolean empty(String value)
protected static String concat(String s1, String s2)
protected void setTime(long milliseconds)
setTime
in class org.discotools.io.AbstractPacket
protected void setDuplicate(boolean isDuplicate)
setDuplicate
in class org.discotools.io.AbstractPacket
protected long setCRS32()
setCRS32
in class org.discotools.io.AbstractPacket
protected long getCRS32Age()
getCRS32Age
in class org.discotools.io.AbstractPacket
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |