|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The simple output parts of the JeAPRS system. TNC extends this tremendously for all of its functionality.
Method Summary | |
void |
close()
Close the stream when done |
void |
write(wonderly.jeaprs.ByteString from,
wonderly.jeaprs.ByteString toCall,
wonderly.jeaprs.ByteString path,
byte[] arr)
Write the data in arr to the TNC 'device'. |
void |
write(wonderly.jeaprs.ByteString from,
wonderly.jeaprs.ByteString toCall,
wonderly.jeaprs.ByteString path,
wonderly.jeaprs.ByteString str)
Write the data in strstr to the TNC 'device' followed by a <CR>. |
Method Detail |
public void write(wonderly.jeaprs.ByteString from, wonderly.jeaprs.ByteString toCall, wonderly.jeaprs.ByteString path, byte[] arr) throws java.io.IOException
callstr
, toCall
and pathstr
are all used
to formulate a KISS mode packet, otherwise they are ignored.
toCall
- the to call/unproto field.arr
- the contents of the packet.
java.io.IOException
public void write(wonderly.jeaprs.ByteString from, wonderly.jeaprs.ByteString toCall, wonderly.jeaprs.ByteString path, wonderly.jeaprs.ByteString str) throws java.io.IOException
strstr
to the TNC 'device' followed by a <CR>.
If kissMode is 'true', then
callstr
, toCall
and pathstr
are all used
to formulate a KISS mode packet, otherwise they are ignored.
toCall
- the to call/unproto field.
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |