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, ByteBuffer remaining_initial_data)
           
 void decodeFailed(ProtocolDecoder decoder, Throwable cause)
           
 int getMaximumPlainHeaderLength()
           
 void gotSecret(byte[] session_secret)
           
 int matchPlainHeader(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(ByteBuffer buffer)

gotSecret

void gotSecret(byte[] session_secret)

decodeComplete

void decodeComplete(ProtocolDecoder decoder,
                    ByteBuffer remaining_initial_data)

decodeFailed

void decodeFailed(ProtocolDecoder decoder,
                  Throwable cause)