public interface HandshakeRequest extends ServerMessage
| Modifier and Type | Method and Description |
|---|---|
static HandshakeRequest |
decode(int envelopeId,
io.netty.buffer.ByteBuf buf)
Decode a
HandshakeRequest from a envelope ByteBuf. |
String |
getAuthType()
Get the authentication plugin type name.
|
int |
getEnvelopeId()
Get the envelope identifier of this message packet.
|
HandshakeHeader |
getHeader()
Get the handshake request header.
|
byte[] |
getSalt()
Get the challenge salt for authentication.
|
Capability |
getServerCapability()
Get the server-side capability.
|
HandshakeHeader getHeader()
int getEnvelopeId()
Capability getServerCapability()
String getAuthType()
byte[] getSalt()
static HandshakeRequest decode(int envelopeId, io.netty.buffer.ByteBuf buf)
HandshakeRequest from a envelope ByteBuf.envelopeId - envelope identifier.buf - the ByteBuf.HandshakeRequest.Copyright © 2018–2023 asyncer.io. All rights reserved.