public final class HandshakeHeader extends Object
If MySQL protocol will be released V11 or higher versions, may need to reorganize the generic headers.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getConnectionId()
Get the connection identifier by MySQL server given, it may not be a positive integer.
|
short |
getProtocolVersion()
The first byte defines the MySQL handshake version those permit the MySQL server to add support for
newer protocols.
|
ServerVersion |
getServerVersion()
Get the MySQL server version.
|
int |
hashCode() |
String |
toString() |
public short getProtocolVersion()
public ServerVersion getServerVersion()
public int getConnectionId()
Copyright © 2018–2023 asyncer.io. All rights reserved.