|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 CommandCustomHeader 的软件包 | |
|---|---|
| com.alibaba.rocketmq.remoting.protocol | |
| com.alibaba.rocketmq.remoting.protocol 中 CommandCustomHeader 的使用 |
|---|
| 返回 CommandCustomHeader 的 com.alibaba.rocketmq.remoting.protocol 中的方法 | |
|---|---|
CommandCustomHeader |
RemotingCommand.decodeCommandCustomHeader(Class<? extends CommandCustomHeader> classHeader)
|
CommandCustomHeader |
RemotingCommand.readCustomHeader()
|
| 参数类型为 CommandCustomHeader 的 com.alibaba.rocketmq.remoting.protocol 中的方法 | |
|---|---|
static RemotingCommand |
RemotingCommand.createRequestCommand(int code,
CommandCustomHeader customHeader)
|
void |
RemotingCommand.writeCustomHeader(CommandCustomHeader customHeader)
|
| 类型变量类型为 CommandCustomHeader 的 com.alibaba.rocketmq.remoting.protocol 中的方法参数 | |
|---|---|
static RemotingCommand |
RemotingCommand.createResponseCommand(Class<? extends CommandCustomHeader> classHeader)
|
static RemotingCommand |
RemotingCommand.createResponseCommand(int code,
String remark,
Class<? extends CommandCustomHeader> classHeader)
只有通信层内部会调用,业务不会调用 |
CommandCustomHeader |
RemotingCommand.decodeCommandCustomHeader(Class<? extends CommandCustomHeader> classHeader)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||