com.taobao.metamorphosis.network
接口 MetaEncodeCommand
- 所有已知实现类:
- AbstractRequestCommand, AbstractResponseCommand, BooleanCommand, DataCommand, GetCommand, OffsetCommand, PutCommand, QuitCommand, StatsCommand, SyncCommand, TransactionCommand, VersionCommand
public interface MetaEncodeCommand
协议编码接口和常量
- 作者:
- boyan
方法摘要 |
com.taobao.gecko.core.buffer.IoBuffer |
encode()
编码协议 |
SPACE
static final byte SPACE
- 另请参见:
- 常量字段值
CRLF
static final byte[] CRLF
GET_CMD
static final String GET_CMD
- 另请参见:
- 常量字段值
RESULT_CMD
static final String RESULT_CMD
- 另请参见:
- 常量字段值
OFFSET_CMD
static final String OFFSET_CMD
- 另请参见:
- 常量字段值
VALUE_CMD
static final String VALUE_CMD
- 另请参见:
- 常量字段值
PUT_CMD
static final String PUT_CMD
- 另请参见:
- 常量字段值
SYNC_CMD
static final String SYNC_CMD
- 另请参见:
- 常量字段值
QUIT_CMD
static final String QUIT_CMD
- 另请参见:
- 常量字段值
VERSION_CMD
static final String VERSION_CMD
- 另请参见:
- 常量字段值
STATS_CMD
static final String STATS_CMD
- 另请参见:
- 常量字段值
TRANS_CMD
static final String TRANS_CMD
- 另请参见:
- 常量字段值
encode
com.taobao.gecko.core.buffer.IoBuffer encode()
- 编码协议
- 返回:
- 编码后的buffer
Copyright © 2010–2013. All rights reserved.