public final class TdsPacket
extends io.netty.buffer.DefaultByteBufHolder
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PACKET_DATA_SIZE |
static int |
PACKET_HEADER_SIZE |
| Modifier and Type | Method and Description |
|---|---|
int |
length() |
static TdsPacket |
newTdsPacket(MessageType type,
MessageStatus status,
int length,
int processId,
short packetId,
io.netty.buffer.ByteBuf data) |
short |
packetId() |
int |
processId() |
MessageStatus |
status() |
MessageType |
type() |
public static final int PACKET_HEADER_SIZE
public static final int MAX_PACKET_DATA_SIZE
public static TdsPacket newTdsPacket(MessageType type, MessageStatus status, int length, int processId, short packetId, io.netty.buffer.ByteBuf data)
public MessageType type()
public MessageStatus status()
public int length()
public int processId()
public short packetId()
Copyright © 2021. All rights reserved.