| Package | Description |
|---|---|
| io.r2dbc.mssql.message.header | |
| io.r2dbc.mssql.message.tds |
TDS protocol support, message envelopes and encoding/decoding helpers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Header
A header exchanged between client and server.
|
| Modifier and Type | Method and Description |
|---|---|
default HeaderOptions |
HeaderOptions.and(Status.StatusBit bit)
Create a
HeaderOptions object with Status.StatusBit set. |
static HeaderOptions |
HeaderOptions.create(Type type,
Status status)
|
default HeaderOptions |
HeaderOptions.not(Status.StatusBit bit)
Create a
HeaderOptions object with Status.StatusBit removed. |
| Modifier and Type | Method and Description |
|---|---|
static Header |
Header.create(HeaderOptions options,
int length,
PacketIdProvider packetIdProvider)
|
static void |
Header.encode(io.netty.buffer.ByteBuf buffer,
HeaderOptions options,
int length,
PacketIdProvider packetIdProvider)
Encode a header into a
ByteBuf. |
| Modifier and Type | Method and Description |
|---|---|
HeaderOptions |
ContextualTdsFragment.getHeaderOptions() |
| Modifier and Type | Method and Description |
|---|---|
static ContextualTdsFragment |
TdsPackets.create(HeaderOptions options,
io.netty.buffer.ByteBuf buffer)
Create a contextual TDS fragment.
|
static FirstTdsFragment |
TdsPackets.first(HeaderOptions options,
io.netty.buffer.ByteBuf buffer)
Create a first contextual TDS fragment.
|
| Constructor and Description |
|---|
ContextualTdsFragment(HeaderOptions headerOptions,
io.netty.buffer.ByteBuf byteBuf)
Creates a new
ContextualTdsFragment. |
Copyright © 2023. All rights reserved.