wonderly.jeaprs.aprs
Class APRSOut

java.lang.Object
  |
  +--wonderly.jeaprs.aprs.APRSOut

public class APRSOut
extends java.lang.Object

This class wraps a delegate OutputStream to provide one place for APRS output packets to be managed if there is output control that needs to be done. The convienence method, write( APRSPacket ) is one place where this will return some code space.

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

Constructor Summary
APRSOut(wonderly.jeaprs.TNC delegate)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(wonderly.jeaprs.aprs.packet.APRSPacket pkt, wonderly.jeaprs.ByteString toCall)
           
 void write(wonderly.jeaprs.ByteString from, wonderly.jeaprs.ByteString to, wonderly.jeaprs.ByteString path, byte[] arr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APRSOut

public APRSOut(wonderly.jeaprs.TNC delegate)
Method Detail

close

public void close()
           throws java.io.IOException
java.io.IOException

flush

public void flush()
           throws java.io.IOException
java.io.IOException

write

public void write(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
                  wonderly.jeaprs.ByteString toCall)
           throws java.io.IOException
java.io.IOException

write

public void write(wonderly.jeaprs.ByteString from,
                  wonderly.jeaprs.ByteString to,
                  wonderly.jeaprs.ByteString path,
                  byte[] arr)
           throws java.io.IOException
java.io.IOException