| 限定符和类型 | 字段和说明 |
|---|---|
protected byte[] |
body
Body字节编码存储,防止重复编码,影响性能
|
protected String |
json
JSON编码存储,防止重复编码,影响性能
|
| 构造器和说明 |
|---|
Transportable()
初始化参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
deallocate() |
abstract byte[] |
getBody()
消息体字节数组
|
String |
getJson()
获取 This的 JSON串
|
io.netty.buffer.ByteBuf |
getProto()
获取对象Buf
|
abstract int |
getType()
消息类型,请参阅AIMConstant.DATA_TYPE_****
|
abstract com.google.protobuf.MessageLite |
toBuilder()
proto 对象
|
io.netty.util.ReferenceCounted |
touch(Object hint) |
protected String json
protected byte[] body
public abstract byte[] getBody()
public abstract int getType()
public io.netty.buffer.ByteBuf getProto()
public String getJson()
public abstract com.google.protobuf.MessageLite toBuilder()
protected void deallocate()
deallocate 在类中 io.netty.util.AbstractReferenceCountedpublic io.netty.util.ReferenceCounted touch(Object hint)
Copyright © 2020–2022 The AIM Project. All rights reserved.