| 程序包 | 说明 |
|---|---|
| com.mpush.codec | |
| com.mpush.message | |
| com.mpush.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
PacketEncoder.encode(Packet packet,
ByteBuf out) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
OkMessage.encode(ByteBuf body) |
void |
KickUserMessage.encode(ByteBuf body) |
void |
HttpResponseMessage.encode(ByteBuf body) |
void |
HttpRequestMessage.encode(ByteBuf body) |
void |
HandshakeOkMessage.encode(ByteBuf body) |
protected void |
HandshakeMessage.encode(ByteBuf body) |
void |
FastConnectOkMessage.encode(ByteBuf body) |
void |
FastConnectMessage.encode(ByteBuf body) |
void |
ErrorMessage.encode(ByteBuf body) |
protected abstract void |
ByteBufMessage.encode(ByteBuf body) |
void |
BindUserMessage.encode(ByteBuf body) |
protected void |
ByteBufMessage.encodeByte(ByteBuf body,
byte field) |
protected void |
ByteBufMessage.encodeBytes(ByteBuf body,
byte[] field) |
protected void |
ByteBufMessage.encodeInt(ByteBuf body,
int field) |
protected void |
ByteBufMessage.encodeLong(ByteBuf body,
long field) |
protected void |
ByteBufMessage.encodeString(ByteBuf body,
String field) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ByteBuf |
ByteBuf.allocate(int capacity) |
static ByteBuf |
ByteBuf.allocateDirect(int capacity) |
ByteBuf |
ByteBuf.checkCapacity(int minWritableBytes) |
ByteBuf |
ByteBuf.clear() |
ByteBuf |
ByteBuf.flip() |
ByteBuf |
ByteBuf.get(byte[] array) |
ByteBuf |
ByteBuf.put(byte b) |
ByteBuf |
ByteBuf.put(byte[] value) |
ByteBuf |
ByteBuf.putInt(int value) |
ByteBuf |
ByteBuf.putLong(long value) |
ByteBuf |
ByteBuf.putShort(int value) |
static ByteBuf |
ByteBuf.wrap(byte[] array) |
Copyright © 2016. All rights reserved.