Package com.trilead.ssh2.transport
Class TransportConnection
java.lang.Object
com.trilead.ssh2.transport.TransportConnection
public class TransportConnection extends Object
TransportConnection.
- Version:
- $Id: TransportConnection.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
Constructor Summary
Constructors Constructor Description TransportConnection(InputStream is, OutputStream os, SecureRandom rnd) -
Method Summary
Modifier and Type Method Description voidchangeRecvCipher(BlockCipher bc, MAC mac)voidchangeSendCipher(BlockCipher bc, MAC mac)intgetPacketOverheadEstimate()intpeekNextMessageLength()intreceiveMessage(byte[] buffer, int off, int len)voidsendMessage(byte[] message)voidsendMessage(byte[] message, int off, int len)voidsendMessage(byte[] message, int off, int len, int padd)
-
Constructor Details
-
Method Details
-
changeRecvCipher
-
changeSendCipher
-
sendMessage
- Throws:
IOException
-
sendMessage
- Throws:
IOException
-
getPacketOverheadEstimate
public int getPacketOverheadEstimate() -
sendMessage
- Throws:
IOException
-
peekNextMessageLength
- Throws:
IOException
-
receiveMessage
- Throws:
IOException
-