public class Reply extends Transportable implements Serializable
logger| 构造器和说明 |
|---|
Reply() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
get(String k) |
byte[] |
getBody()
消息体字节数组
|
int |
getType()
消息类型,请参阅AIMConstant.DATA_TYPE_****
|
static Reply |
instance(String key)
单例对象
|
static Reply |
instance(String key,
String msg)
单例对象
|
Set<String> |
keySet() |
void |
put(String k,
String v) |
void |
putAll(Map<String,String> map) |
void |
remove(String k) |
void |
setCode(int key) |
void |
setCode(String key) |
ReplyProto.Model |
toBuilder()
proto 对象转换
|
String |
toString() |
deallocate, touchpublic void setCode(int key)
public void setCode(String key)
public ReplyProto.Model toBuilder()
toBuilder 在类中 Transportablepublic void remove(String k)
public byte[] getBody()
TransportablegetBody 在类中 Transportablepublic int getType()
TransportablegetType 在类中 TransportableCopyright © 2020–2022 The AIM Project. All rights reserved.