com.sshtools.j2ssh.transport
Class TransportProtocolOutputStream

java.lang.Object
  extended by com.sshtools.j2ssh.transport.TransportProtocolOutputStream

 class TransportProtocolOutputStream
extends java.lang.Object


Field Summary
private  TransportProtocolAlgorithmSync algorithms
           
private  long bytesTransfered
           
private static org.apache.commons.logging.Log log
           
private  java.io.OutputStream out
           
private  java.util.Random rnd
           
private  long sequenceNo
           
private  long sequenceWrapLimit
           
private  TransportProtocolCommon transport
           
 
Constructor Summary
TransportProtocolOutputStream(java.io.OutputStream out, TransportProtocolCommon transport, TransportProtocolAlgorithmSync algorithms)
          Creates a new TransportProtocolOutputStream object.
 
Method Summary
protected  long getNumBytesTransfered()
           
protected  void sendMessage(SshMessage msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

TransportProtocolOutputStream

public TransportProtocolOutputStream(java.io.OutputStream out,
                                     TransportProtocolCommon transport,
                                     TransportProtocolAlgorithmSync algorithms)
                              throws TransportProtocolException
Creates a new TransportProtocolOutputStream object.

Parameters:
out -
transport -
algorithms -
Throws:
TransportProtocolException
Method Detail

getNumBytesTransfered

protected long getNumBytesTransfered()
Returns:

sendMessage

protected void sendMessage(SshMessage msg)
                    throws TransportProtocolException
Parameters:
msg -
Throws:
TransportProtocolException