|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods that must be implemented by a class wishing to provide access to a TNC in JeAPRS.
Field Summary | |
static int |
TNC_TYPE_EHF
This TNC is an EHF connected TNC. |
static int |
TNC_TYPE_HF
This TNC is an HF connected TNC. |
static int |
TNC_TYPE_NET
This TNC is an internet connected TNC. |
static int |
TNC_TYPE_UHF
This TNC is an UHF connected TNC. |
static int |
TNC_TYPE_VHF
This TNC is a VHF connected TNC. |
Method Summary | |
void |
flush()
|
java.io.InputStream |
getInputStream()
Returns the input stream for the TNC. |
java.io.OutputStream |
getOutputStream()
Returns the output stream for the TNC |
int |
getTNCType()
Returns what type this TNC was configured for (TNC_TYPE_*). |
void |
initialize(wonderly.jeaprs.ui.JeAPRSUI ui)
Set everything up, open ports etc |
void |
initTNC()
Send initialization commands to TNC |
boolean |
isInitialized()
Tracks whether initTNC has been called |
boolean |
isKiss()
|
void |
lockTNC(boolean lock)
Causes this object to block/release access to the TNC stream |
void |
setKiss(boolean how)
sets the use of KISS mode based on the passed parameter |
void |
setTNCType(int type)
Sets what type this TNC should be recognized as providing (TNC_TYPE_*). |
void |
waitReady()
Waits until the TNC stream is ready to be used |
Methods inherited from interface wonderly.jeaprs.io.aprs.APRSInput |
close, readPacket |
Methods inherited from interface wonderly.jeaprs.io.aprs.APRSOutput |
close, write, write |
Methods inherited from interface wonderly.jeaprs.io.IOModule |
getModuleId, setModuleId |
Field Detail |
public static final int TNC_TYPE_VHF
public static final int TNC_TYPE_HF
public static final int TNC_TYPE_UHF
public static final int TNC_TYPE_EHF
public static final int TNC_TYPE_NET
Method Detail |
public void setTNCType(int type) throws ModeNotSupportedException
ModeNotSupportedException
public int getTNCType()
public boolean isKiss()
public void setKiss(boolean how) throws ModeNotSupportedException
ModeNotSupportedException
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
public void lockTNC(boolean lock)
public void initialize(wonderly.jeaprs.ui.JeAPRSUI ui) throws java.io.IOException
java.io.IOException
public void initTNC() throws java.io.IOException
java.io.IOException
public boolean isInitialized()
public void waitReady()
public void flush() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |