|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--wonderly.jeaprs.aprs.packet.APRSEventAdapter
This class is an empty/adapter implementation of the APRSEventListener interface. It should be used when not all methods in that interface need to be used for processing the associated packets
| Constructor Summary | |
APRSEventAdapter()
|
|
| Method Summary | |
void |
capabilities(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSStation msg)
Called when capabilities are received from a station. |
java.lang.String |
getModuleId()
returns the name used to identify this TNC to the user |
void |
gps(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSGps gps)
Called when a gps/NMEA sentence is received from a station. |
void |
item(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSItem item)
Called when an item is received from a station. |
void |
message(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSMessage msg)
Called when a message report is received from a station. |
void |
object(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSObject obj)
Called when an object is received from a station. |
void |
others(wonderly.jeaprs.aprs.packet.APRSPacket pkt)
|
void |
position(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSPosition pos)
Called when a position report is received from a station. |
void |
query(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSQuery query)
Called when a query is received from a station. |
void |
setModuleId(java.lang.String name)
Sets the name used for identifying this TNC to the user |
void |
shelter(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSShelter shelter)
Called when shelter information is received from a station. |
void |
status(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSStatus stat)
Called when a status report is received from a station. |
void |
telemetry(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSTelemetry telem)
Called when telemetry is received from a station. |
void |
thirdParty(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSThirdParty party)
Called when thirdparty data is received from a station via an IGATE or otherwise. |
void |
userDefined(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSUserDefined user)
Called when a user defined, perhaps privately defined, report is received from a station. |
void |
weather(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSWeather weather)
Called when a weather report is received from a station. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public APRSEventAdapter()
| Method Detail |
public void position(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSPosition pos)
APRSEventListener
position in interface APRSEventListener
public void weather(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSWeather weather)
APRSEventListener
weather in interface APRSEventListener
public void gps(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSGps gps)
APRSEventListener
gps in interface APRSEventListener
public void object(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSObject obj)
APRSEventListener
object in interface APRSEventListener
public void message(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSMessage msg)
APRSEventListener
message in interface APRSEventListener
public void capabilities(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSStation msg)
APRSEventListener
capabilities in interface APRSEventListener
public void status(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSStatus stat)
APRSEventListener
status in interface APRSEventListener
public void query(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSQuery query)
APRSEventListener
query in interface APRSEventListener
public void telemetry(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSTelemetry telem)
APRSEventListener
telemetry in interface APRSEventListener
public void userDefined(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSUserDefined user)
APRSEventListener
userDefined in interface APRSEventListener
public void item(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSItem item)
APRSEventListener
item in interface APRSEventListener
public void shelter(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSShelter shelter)
APRSEventListener
shelter in interface APRSEventListener
public void thirdParty(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSThirdParty party)
APRSEventListener
thirdParty in interface APRSEventListenerpublic void others(wonderly.jeaprs.aprs.packet.APRSPacket pkt)
others in interface APRSEventListenerpublic java.lang.String getModuleId()
IOModule
getModuleId in interface IOModulepublic void setModuleId(java.lang.String name)
IOModule
setModuleId in interface IOModule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||