public class RpcRequestMeta extends Object implements Readable, Writerable
RpcMeta| 构造器和说明 |
|---|
RpcRequestMeta() |
| 限定符和类型 | 方法和说明 |
|---|---|
RpcRequestMeta |
copy()
Copy.
|
byte[] |
getExtraParam()
Gets the 非PbRpc规范,用于传输额外的参数.
|
Long |
getLogId()
Gets the 用于打印日志。
|
String |
getMethodName()
Gets the 方法名.
|
String |
getSerivceName()
Gets the serivce name.
|
void |
read(byte[] bytes)
Do deserializable action.
|
void |
setExtraParam(byte[] extraParam)
Sets the 非PbRpc规范,用于传输额外的参数.
|
void |
setLogId(Long logId)
Sets the 用于打印日志。
|
void |
setMethodName(String methodName)
Sets the 方法名.
|
void |
setServiceName(String serviceName)
Sets the 服务名.
|
byte[] |
write()
Write.
|
public String getSerivceName()
public void setServiceName(String serviceName)
serviceName - the new 服务名public String getMethodName()
public void setMethodName(String methodName)
methodName - the new 方法名public Long getLogId()
public void setLogId(Long logId)
logId - the new 用于打印日志。可用于存放BFE_LOGID。该参数可选。public void read(byte[] bytes)
Readablepublic byte[] write()
Writerablewrite 在接口中 Writerablepublic byte[] getExtraParam()
public void setExtraParam(byte[] extraParam)
extraParam - the new 非PbRpc规范,用于传输额外的参数public RpcRequestMeta copy()
Copyright © 2018 Baidu, Inc.. All rights reserved.