public static class Prelogin.Version extends Prelogin.Token
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
| Constructor and Description |
|---|
Version(int version,
int subbuild)
|
Version(int version,
short subbuild)
|
| Modifier and Type | Method and Description |
|---|---|
static Prelogin.Version |
decode(io.r2dbc.mssql.message.token.Prelogin.TokenDecodingState toDecode)
Decode the
Prelogin.Version token. |
void |
encodeStream(io.netty.buffer.ByteBuf buffer) |
short |
getSubbuild() |
int |
getVersion() |
String |
toString() |
encodeTokenpublic static final byte TYPE
public Version(int version,
int subbuild)
version - the server major version.subbuild - the server subbuild.public Version(int version,
short subbuild)
version - the server major version.subbuild - the server subbuild.public static Prelogin.Version decode(io.r2dbc.mssql.message.token.Prelogin.TokenDecodingState toDecode)
Prelogin.Version token.toDecode - the current decoding state.Prelogin.Version token.public int getVersion()
public short getSubbuild()
public void encodeStream(io.netty.buffer.ByteBuf buffer)
encodeStream in class Prelogin.TokenCopyright © 2023. All rights reserved.