Interface ProtocolDecoderAdapter
-
public interface ProtocolDecoderAdapter
-
-
Field Summary
Fields Modifier and Type Field Description static int
MATCH_CRYPTO_AUTO_FALLBACK
static int
MATCH_CRYPTO_NO_AUTO_FALLBACK
static int
MATCH_NONE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
-
-