com.taobao.metamorphosis.network
接口 MetaEncodeCommand

所有已知实现类:
AbstractRequestCommand, AbstractResponseCommand, BooleanCommand, DataCommand, GetCommand, OffsetCommand, PutCommand, QuitCommand, StatsCommand, SyncCommand, TransactionCommand, VersionCommand

public interface MetaEncodeCommand

协议编码接口和常量

作者:
boyan

字段摘要
static byte[] CRLF
           
static String GET_CMD
           
static String OFFSET_CMD
           
static String PUT_CMD
           
static String QUIT_CMD
           
static String RESULT_CMD
           
static byte SPACE
           
static String STATS_CMD
           
static String SYNC_CMD
           
static String TRANS_CMD
           
static String VALUE_CMD
           
static String VERSION_CMD
           
 
方法摘要
 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.