com.aelitis.azureus.core.networkmanager.impl
Interface TransportCryptoManager.HandshakeListener

Enclosing class:
TransportCryptoManager

public static interface TransportCryptoManager.HandshakeListener


Field Summary
static int MATCH_CRYPTO_AUTO_FALLBACK
           
static int MATCH_CRYPTO_NO_AUTO_FALLBACK
           
static int MATCH_NONE
           
 
Method Summary
 int getMaximumPlainHeaderLength()
           
 void gotSecret(byte[] session_secret)
           
 void handshakeFailure(Throwable failure_msg)
           
 void handshakeSuccess(ProtocolDecoder decoder, ByteBuffer remaining_initial_data)
           
 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

handshakeSuccess

void handshakeSuccess(ProtocolDecoder decoder,
                      ByteBuffer remaining_initial_data)

handshakeFailure

void handshakeFailure(Throwable failure_msg)

gotSecret

void gotSecret(byte[] session_secret)

getMaximumPlainHeaderLength

int getMaximumPlainHeaderLength()

matchPlainHeader

int matchPlainHeader(ByteBuffer buffer)