public final class Attention extends Object implements io.r2dbc.mssql.message.ClientMessage, TokenStream
| Modifier and Type | Method and Description |
|---|---|
static Attention |
create(int outstandingRequests,
io.r2dbc.mssql.message.TransactionDescriptor transactionDescriptor)
Creates a new
Attention. |
TdsFragment |
encode(io.netty.buffer.ByteBufAllocator allocator,
int packetSize)
Encode a message into a
data buffer. |
boolean |
equals(Object o) |
String |
getName() |
int |
hashCode() |
String |
toString() |
public static Attention create(int outstandingRequests, io.r2dbc.mssql.message.TransactionDescriptor transactionDescriptor)
Attention.outstandingRequests - the number of outstanding requests.transactionDescriptor - the transaction descriptorAttention token.public TdsFragment encode(io.netty.buffer.ByteBufAllocator allocator, int packetSize)
io.r2dbc.mssql.message.ClientMessagedata buffer. Can encode either to a scalar TdsFragment or a Publisher of TdsFragment.encode in interface io.r2dbc.mssql.message.ClientMessageallocator - the ByteBufAllocator to use to get a data buffer to write into.packetSize - packet size hint.TdsFragment or a Publisher that produces the TdsFragment containing the encoded message.public String getName()
getName in interface TokenStreamTokenStream.Copyright © 2023. All rights reserved.