org.apache.geronimo.gshell.whisper.stream
Class SessionInputStream
java.lang.Object
java.io.InputStream
org.apache.geronimo.gshell.whisper.stream.SessionInputStream
- All Implemented Interfaces:
- Closeable
public class SessionInputStream
- extends InputStream
An InputStream that buffers data read from StreamMessage messages.
- Version:
- $Rev: 578566 $ $Date: 2007-09-23 05:02:46 -0700 (Sun, 23 Sep 2007) $
BINDER
public static final SessionAttributeBinder<SessionInputStream> BINDER
SessionInputStream
public SessionInputStream()
toString
public String toString()
- Overrides:
toString in class Object
available
public int available()
- Overrides:
available in class InputStream
close
public void close()
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
write
public void write(StreamMessage msg)
throwException
public void throwException(IOException e)
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.