com.aelitis.azureus.core.networkmanager.impl
Class TransportHelperFilterStreamCipher

java.lang.Object
  extended by com.aelitis.azureus.core.networkmanager.impl.TransportHelperFilterStream
      extended by com.aelitis.azureus.core.networkmanager.impl.TransportHelperFilterStreamCipher
All Implemented Interfaces:
TransportHelperFilter

public class TransportHelperFilterStreamCipher
extends TransportHelperFilterStream


Constructor Summary
TransportHelperFilterStreamCipher(TransportHelper _transport, TransportCipher _read_cipher, TransportCipher _write_cipher)
           
 
Method Summary
protected  void cryptoIn(ByteBuffer source_buffer, ByteBuffer target_buffer)
           
protected  void cryptoOut(ByteBuffer source_buffer, ByteBuffer target_buffer)
           
 String getName(boolean verbose)
           
 boolean isEncrypted()
           
 
Methods inherited from class com.aelitis.azureus.core.networkmanager.impl.TransportHelperFilterStream
getHelper, hasBufferedRead, hasBufferedWrite, read, setTrace, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportHelperFilterStreamCipher

public TransportHelperFilterStreamCipher(TransportHelper _transport,
                                         TransportCipher _read_cipher,
                                         TransportCipher _write_cipher)
Method Detail

cryptoOut

protected void cryptoOut(ByteBuffer source_buffer,
                         ByteBuffer target_buffer)
                  throws IOException
Specified by:
cryptoOut in class TransportHelperFilterStream
Throws:
IOException

cryptoIn

protected void cryptoIn(ByteBuffer source_buffer,
                        ByteBuffer target_buffer)
                 throws IOException
Specified by:
cryptoIn in class TransportHelperFilterStream
Throws:
IOException

isEncrypted

public boolean isEncrypted()

getName

public String getName(boolean verbose)