com.sshtools.j2ssh.subsystem
Class SubsystemOutputStream
java.lang.Object
java.io.OutputStream
com.sshtools.j2ssh.subsystem.SubsystemOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class SubsystemOutputStream
- extends java.io.OutputStream
- Version:
- $Revision: 1.1 $
- Author:
- $author$
Methods inherited from class java.io.OutputStream |
close, flush, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
java.io.ByteArrayOutputStream buffer
messageStore
SubsystemMessageStore messageStore
messageStart
int messageStart
SubsystemOutputStream
public SubsystemOutputStream(SubsystemMessageStore messageStore)
- Creates a new SubsystemOutputStream object.
- Parameters:
messageStore
-
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Parameters:
b
- off
- len
-
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Parameters:
b
-
- Throws:
java.io.IOException
processMessage
private void processMessage()
throws java.io.IOException
- Throws:
java.io.IOException