net.kindleit.gae
Class PasswordExpectOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by net.kindleit.gae.PasswordExpectOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class PasswordExpectOutputStream
extends OutputStream

Read writes only from ThreadGroup, from other threads just redirect to PrintStream.

Author:
vlads

Constructor Summary
PasswordExpectOutputStream(ThreadGroup threads, PrintStream out, Runnable onExpected)
           
 
Method Summary
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordExpectOutputStream

public PasswordExpectOutputStream(ThreadGroup threads,
                                  PrintStream out,
                                  Runnable onExpected)
Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException


Copyright © 2009-2010 KindleIT. All Rights Reserved.