| 程序包 | 说明 |
|---|---|
| com.alibaba.rocketmq.remoting.protocol |
| 限定符和类型 | 方法和说明 |
|---|---|
CommandCustomHeader |
RemotingCommand.decodeCommandCustomHeader(Class<? extends CommandCustomHeader> classHeader) |
CommandCustomHeader |
RemotingCommand.readCustomHeader() |
| 限定符和类型 | 方法和说明 |
|---|---|
static RemotingCommand |
RemotingCommand.createRequestCommand(int code,
CommandCustomHeader customHeader) |
void |
RemotingCommand.writeCustomHeader(CommandCustomHeader customHeader) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
Copyright © 2012–2016. All rights reserved.