| Package | Description |
|---|---|
| com.alipay.remoting | |
| com.alipay.remoting.codec | |
| com.alipay.remoting.rpc |
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<ProtocolCode> |
Connection.PROTOCOL
Attribute key for protocol
|
| Modifier and Type | Method and Description |
|---|---|
static ProtocolCode |
ProtocolCode.fromBytes(byte... version) |
ProtocolCode |
RemotingCommand.getProtocolCode()
Get the code of the protocol that this command belongs to
|
| Modifier and Type | Method and Description |
|---|---|
protected CommandFactory |
BaseRemoting.getCommandFactory(ProtocolCode protocolCode) |
static Protocol |
ProtocolManager.getProtocol(ProtocolCode protocolCode) |
static void |
ProtocolManager.registerProtocol(Protocol protocol,
ProtocolCode protocolCode) |
| Constructor and Description |
|---|
Connection(io.netty.channel.Channel channel,
ProtocolCode protocolCode,
byte version,
Url url) |
Connection(io.netty.channel.Channel channel,
ProtocolCode protocolCode,
Url url)
Constructor
|
| Modifier and Type | Field and Description |
|---|---|
protected ProtocolCode |
ProtocolCodeBasedEncoder.defaultProtocolCode
default protocol code
|
| Modifier and Type | Method and Description |
|---|---|
protected ProtocolCode |
ProtocolCodeBasedDecoder.decodeProtocolCode(io.netty.buffer.ByteBuf in)
decode the protocol code
|
| Constructor and Description |
|---|
ProtocolCodeBasedEncoder(ProtocolCode defaultProtocolCode) |
| Modifier and Type | Method and Description |
|---|---|
ProtocolCode |
RpcCommand.getProtocolCode() |
Copyright © 2024. All rights reserved.