Class 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
    • Method Detail

      • changeRecvCipher

        public void changeRecvCipher​(BlockCipher bc,
                                     MAC mac)
      • changeSendCipher

        public void changeSendCipher​(BlockCipher bc,
                                     MAC mac)
      • 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
      • receiveMessage

        public int receiveMessage​(byte[] buffer,
                                  int off,
                                  int len)
                           throws IOException
        Throws:
        IOException