com.aelitis.azureus.core.networkmanager.impl
Interface TransportHelperFilter

All Known Implementing Classes:
TransportHelperFilterInserter, TransportHelperFilterStream, TransportHelperFilterStreamCipher, TransportHelperFilterStreamXOR, TransportHelperFilterTransparent

public interface TransportHelperFilter


Method Summary
 TransportHelper getHelper()
           
 java.lang.String getName(boolean verbose)
           
 boolean hasBufferedRead()
           
 boolean hasBufferedWrite()
           
 boolean isEncrypted()
           
 long read(java.nio.ByteBuffer[] buffers, int array_offset, int length)
           
 void setTrace(boolean on)
           
 long write(java.nio.ByteBuffer[] buffers, int array_offset, int length)
           
 

Method Detail

write

long write(java.nio.ByteBuffer[] buffers,
           int array_offset,
           int length)
           throws java.io.IOException
Throws:
java.io.IOException

read

long read(java.nio.ByteBuffer[] buffers,
          int array_offset,
          int length)
          throws java.io.IOException
Throws:
java.io.IOException

hasBufferedWrite

boolean hasBufferedWrite()

hasBufferedRead

boolean hasBufferedRead()

getHelper

TransportHelper getHelper()

getName

java.lang.String getName(boolean verbose)

isEncrypted

boolean isEncrypted()

setTrace

void setTrace(boolean on)