wonderly.jeaprs.io.aprs
Interface APRSInput

All Known Subinterfaces:
TNC
All Known Implementing Classes:
IGATEStream, JeAPRS.SocketAPRS, TNCStream

public interface APRSInput

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

Method Summary
 void close()
          Close the stream when done
 byte[] readPacket()
          Reads a packet from the TNC.
 

Method Detail

readPacket

public byte[] readPacket()
                  throws java.io.IOException
Reads a packet from the TNC. Normally, an APRSStreamHandler is using this stream and will be calling this method and then dispatching the packet to the listeners of that APRSStreamHandler.

java.io.IOException
See Also:
APRSStreamHandler, wonderly.jeaprs.aprs.APRSEventListener, APRSStatusListener

close

public void close()
           throws java.io.IOException
Close the stream when done

java.io.IOException