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


public interface ProtocolDecoderAdapter


Field Summary
static int MATCH_CRYPTO_AUTO_FALLBACK
           
static int MATCH_CRYPTO_NO_AUTO_FALLBACK
           
static int MATCH_NONE
           
 
Method Summary
 void decodeComplete(ProtocolDecoder decoder, java.nio.ByteBuffer remaining_initial_data)
           
 void decodeFailed(ProtocolDecoder decoder, java.lang.Throwable cause)
           
 int getMaximumPlainHeaderLength()
           
 void gotSecret(byte[] session_secret)
           
 int matchPlainHeader(java.nio.ByteBuffer buffer)
           
 

Field Detail

MATCH_NONE

static final int MATCH_NONE
See Also:
Constant Field Values

MATCH_CRYPTO_NO_AUTO_FALLBACK

static final int MATCH_CRYPTO_NO_AUTO_FALLBACK
See Also:
Constant Field Values

MATCH_CRYPTO_AUTO_FALLBACK

static final int MATCH_CRYPTO_AUTO_FALLBACK
See Also:
Constant Field Values
Method Detail

getMaximumPlainHeaderLength

int getMaximumPlainHeaderLength()

matchPlainHeader

int matchPlainHeader(java.nio.ByteBuffer buffer)

gotSecret

void gotSecret(byte[] session_secret)

decodeComplete

void decodeComplete(ProtocolDecoder decoder,
                    java.nio.ByteBuffer remaining_initial_data)

decodeFailed

void decodeFailed(ProtocolDecoder decoder,
                  java.lang.Throwable cause)