wonderly.jeaprs.aprs.packet
Class APRSEventAdapter

java.lang.Object
  |
  +--wonderly.jeaprs.aprs.packet.APRSEventAdapter
All Implemented Interfaces:
APRSEventListener, APRSIOModule, IOModule

public class APRSEventAdapter
extends java.lang.Object
implements APRSEventListener

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

Version:
1.0
Author:
Gregg Wonderly - The information contained in this document is Copyright 2001-2003, Gregg Wonderly, all rights reserved.

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

APRSEventAdapter

public APRSEventAdapter()
Method Detail

position

public void position(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                     wonderly.jeaprs.aprs.packet.APRSPosition pos)
Description copied from interface: APRSEventListener
Called when a position report is received from a station.

Specified by:
position in interface APRSEventListener

weather

public void weather(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                    wonderly.jeaprs.aprs.packet.APRSWeather weather)
Description copied from interface: APRSEventListener
Called when a weather report is received from a station.

Specified by:
weather in interface APRSEventListener

gps

public void gps(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                wonderly.jeaprs.aprs.packet.APRSGps gps)
Description copied from interface: APRSEventListener
Called when a gps/NMEA sentence is received from a station.

Specified by:
gps in interface APRSEventListener

object

public void object(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                   wonderly.jeaprs.aprs.packet.APRSObject obj)
Description copied from interface: APRSEventListener
Called when an object is received from a station.

Specified by:
object in interface APRSEventListener

message

public void message(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                    wonderly.jeaprs.aprs.packet.APRSMessage msg)
Description copied from interface: APRSEventListener
Called when a message report is received from a station.

Specified by:
message in interface APRSEventListener

capabilities

public void capabilities(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                         wonderly.jeaprs.aprs.packet.APRSStation msg)
Description copied from interface: APRSEventListener
Called when capabilities are received from a station.

Specified by:
capabilities in interface APRSEventListener

status

public void status(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                   wonderly.jeaprs.aprs.packet.APRSStatus stat)
Description copied from interface: APRSEventListener
Called when a status report is received from a station.

Specified by:
status in interface APRSEventListener

query

public void query(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                  wonderly.jeaprs.aprs.packet.APRSQuery query)
Description copied from interface: APRSEventListener
Called when a query is received from a station.

Specified by:
query in interface APRSEventListener

telemetry

public void telemetry(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                      wonderly.jeaprs.aprs.packet.APRSTelemetry telem)
Description copied from interface: APRSEventListener
Called when telemetry is received from a station.

Specified by:
telemetry in interface APRSEventListener

userDefined

public void userDefined(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                        wonderly.jeaprs.aprs.packet.APRSUserDefined user)
Description copied from interface: APRSEventListener
Called when a user defined, perhaps privately defined, report is received from a station.

Specified by:
userDefined in interface APRSEventListener

item

public void item(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                 wonderly.jeaprs.aprs.packet.APRSItem item)
Description copied from interface: APRSEventListener
Called when an item is received from a station.

Specified by:
item in interface APRSEventListener

shelter

public void shelter(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                    wonderly.jeaprs.aprs.packet.APRSShelter shelter)
Description copied from interface: APRSEventListener
Called when shelter information is received from a station.

Specified by:
shelter in interface APRSEventListener

thirdParty

public void thirdParty(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                       wonderly.jeaprs.aprs.packet.APRSThirdParty party)
Description copied from interface: APRSEventListener
Called when thirdparty data is received from a station via an IGATE or otherwise.

Specified by:
thirdParty in interface APRSEventListener

others

public void others(wonderly.jeaprs.aprs.packet.APRSPacket pkt)
Specified by:
others in interface APRSEventListener

getModuleId

public java.lang.String getModuleId()
Description copied from interface: IOModule
returns the name used to identify this TNC to the user

Specified by:
getModuleId in interface IOModule

setModuleId

public void setModuleId(java.lang.String name)
Description copied from interface: IOModule
Sets the name used for identifying this TNC to the user

Specified by:
setModuleId in interface IOModule