|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by all clients of the JeAPRS system. An APRSClient implementation can be plugged into JeAPRS and made to work easily with the system. There is an default implementation of this interface available to simplify the creation of new applications for JeAPRS use.
APRSClientImpl
Method Summary | |
void |
addAPRSEventGenerator(wonderly.jeaprs.aprs.packet.APRSEventGenerator gen)
Used to set the input event stream generator for this module to use |
void |
addAPRSOutputStream(wonderly.jeaprs.TNC out)
Used to set the output stream used |
wonderly.jeaprs.aprs.packet.APRSEventGenerator[] |
getAPRSEventGenerators()
Used to get the current input event stream generator |
wonderly.jeaprs.TNC[] |
getAPRSOutputStreams()
Used to query the output stream currently used. |
java.lang.String |
getName()
|
wonderly.jeaprs.aprs.APRSUIFactory |
getUIFactory()
Returns the UI factory used to generate the UI for this module if a UI applies |
boolean |
isDirty()
|
boolean |
isInputUser()
Does this module need an event input stream |
boolean |
isOutputUser()
Does this module need an output stream |
void |
removeAPRSEventGenerator(wonderly.jeaprs.aprs.packet.APRSEventGenerator gen)
Used to remove the input event stream generator |
void |
removeAPRSOutputStream(wonderly.jeaprs.TNC out)
Used to remove the indicated output stream used |
void |
setDirty(boolean how)
Set whether this client needs to have its properties saved |
void |
setName(java.lang.String name)
Sets the name used for this instance of this client module |
void |
start()
|
void |
stop()
|
java.lang.String |
toString()
Returns name of Client for display in lists |
Method Detail |
public boolean isOutputUser()
public boolean isInputUser()
public void addAPRSOutputStream(wonderly.jeaprs.TNC out)
public void removeAPRSOutputStream(wonderly.jeaprs.TNC out)
public wonderly.jeaprs.TNC[] getAPRSOutputStreams()
public void addAPRSEventGenerator(wonderly.jeaprs.aprs.packet.APRSEventGenerator gen)
public void removeAPRSEventGenerator(wonderly.jeaprs.aprs.packet.APRSEventGenerator gen)
public wonderly.jeaprs.aprs.packet.APRSEventGenerator[] getAPRSEventGenerators()
public java.lang.String toString()
toString
in class java.lang.Object
public void setName(java.lang.String name)
public java.lang.String getName()
public wonderly.jeaprs.aprs.APRSUIFactory getUIFactory()
public void start()
public void stop()
public boolean isDirty()
public void setDirty(boolean how)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |