ch.ethz.ssh2.transport
Class TransportConnection
java.lang.Object
ch.ethz.ssh2.transport.TransportConnection
public class TransportConnection
- extends Object
TransportConnection.
- Version:
- $Id$
- Author:
- Christian Plattner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportConnection
public TransportConnection(InputStream is,
OutputStream os,
SecureRandom rnd)
changeRecvCipher
public void changeRecvCipher(BlockCipher bc,
MAC mac)
changeSendCipher
public void changeSendCipher(BlockCipher bc,
MAC mac)
sendMessage
public void sendMessage(byte[] message)
throws IOException
- Throws:
IOException
sendMessage
public void sendMessage(byte[] message,
int off,
int len)
throws IOException
- Throws:
IOException
getPacketOverheadEstimate
public int getPacketOverheadEstimate()
sendMessage
public void sendMessage(byte[] message,
int off,
int len,
int padd)
throws IOException
- Throws:
IOException
peekNextMessageLength
public int peekNextMessageLength()
throws IOException
- Throws:
IOException
receiveMessage
public int receiveMessage(byte[] buffer,
int off,
int len)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.