| Package | Description |
|---|---|
| org.tio.core.intf | |
| org.tio.server.cluster.codec | |
| org.tio.server.cluster.core | |
| org.tio.server.cluster.message | |
| org.tio.server.intf | |
| org.tio.server.proxy |
| Modifier and Type | Method and Description |
|---|---|
Packet |
TioHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext context)
根据ByteBuffer解码成业务需要的Packet对象.
|
| Modifier and Type | Method and Description |
|---|---|
Packet |
ClusterMessageDecoder.decode(ChannelContext ctx,
ByteBuffer buffer,
int readableLength) |
| Modifier and Type | Method and Description |
|---|---|
Packet |
ClusterTcpServerHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext context) |
Packet |
ClusterTcpClientHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext context) |
| Modifier and Type | Method and Description |
|---|---|
static ClusterMessageType |
ClusterMessageType.from(byte value)
Value of byte.
|
| Modifier and Type | Method and Description |
|---|---|
Packet |
DecoderFunction.apply(ChannelContext context,
ByteBuffer buffer,
int readableLength)
解码函数
|
| Modifier and Type | Method and Description |
|---|---|
static Packet |
ProxyProtocolDecoder.decode(ChannelContext context,
ByteBuffer buffer,
int readableLength,
DecoderFunction next)
解码 proxy protocol
|
static ProxyProtocolMessage |
ProxyProtocolDecoder.decodeForTest(ByteBuffer buffer,
int readableLength)
解码 proxy protocol
|
static Packet |
ProxyProtocolDecoder.decodeIfEnable(ChannelContext context,
ByteBuffer buffer,
int readableLength,
DecoderFunction next)
解码,如果开启了 proxy protocol
|
static ProxyProtocolMessage |
ProxyProtocolDecoder.decodeMessage(ByteBuffer buffer,
int readableLength)
解码 proxy protocol
|
Copyright © 2025. All rights reserved.