com.uwyn.drone.core
Class TimedOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.uwyn.drone.core.TimedOutputStream
- public class TimedOutputStream
- extends FilterOutputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimedOutputStream
public TimedOutputStream(OutputStream outputStream,
int max,
int amount,
int interval)
close
public void close()
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
write
public void write(byte[] bytes)
throws IOException
- Throws:
IOException
write
public void write(byte[] bytes,
int offset,
int length)
throws IOException
- Throws:
IOException
write
public void write(int b)
throws IOException
- Throws:
IOException
addTimedOutputStreamListener
public boolean addTimedOutputStreamListener(TimedOutputStreamListener listener)
removeTimedOutputStreamListener
public boolean removeTimedOutputStreamListener(TimedOutputStreamListener listener)
Copyright © 2002-2004 Geert Bevin and UWYN. All Rights Reserved.