com.sshtools.j2ssh.transport
Class TransportProtocolOutputStream
java.lang.Object
com.sshtools.j2ssh.transport.TransportProtocolOutputStream
class TransportProtocolOutputStream
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
out
private java.io.OutputStream out
algorithms
private TransportProtocolAlgorithmSync algorithms
transport
private TransportProtocolCommon transport
sequenceNo
private long sequenceNo
sequenceWrapLimit
private long sequenceWrapLimit
rnd
private java.util.Random rnd
bytesTransfered
private long bytesTransfered
TransportProtocolOutputStream
public TransportProtocolOutputStream(java.io.OutputStream out,
TransportProtocolCommon transport,
TransportProtocolAlgorithmSync algorithms)
throws TransportProtocolException
- Creates a new TransportProtocolOutputStream object.
- Parameters:
out
- transport
- algorithms
-
- Throws:
TransportProtocolException
getNumBytesTransfered
protected long getNumBytesTransfered()
- Returns:
sendMessage
protected void sendMessage(SshMessage msg)
throws TransportProtocolException
- Parameters:
msg
-
- Throws:
TransportProtocolException