com.taobao.metamorphosis.network
类 AbstractRequestCommand
java.lang.Object
com.taobao.metamorphosis.network.AbstractRequestCommand
- 所有已实现的接口:
- com.taobao.gecko.core.command.Command, com.taobao.gecko.core.command.CommandHeader, com.taobao.gecko.core.command.RequestCommand, MetaEncodeCommand
- 直接已知子类:
- GetCommand, OffsetCommand, PutCommand, QuitCommand, StatsCommand, VersionCommand
public abstract class AbstractRequestCommand
- extends Object
- implements com.taobao.gecko.core.command.RequestCommand, MetaEncodeCommand
请求命令基类
- 作者:
- boyan
从接口 com.taobao.metamorphosis.network.MetaEncodeCommand 继承的字段 |
CRLF, GET_CMD, OFFSET_CMD, PUT_CMD, QUIT_CMD, RESULT_CMD, SPACE, STATS_CMD, SYNC_CMD, TRANS_CMD, VALUE_CMD, VERSION_CMD |
AbstractRequestCommand
public AbstractRequestCommand(String topic,
Integer opaque)
getRequestHeader
public com.taobao.gecko.core.command.CommandHeader getRequestHeader()
- 指定者:
- 接口
com.taobao.gecko.core.command.RequestCommand
中的 getRequestHeader
getOpaque
public Integer getOpaque()
- 指定者:
- 接口
com.taobao.gecko.core.command.CommandHeader
中的 getOpaque
setOpaque
public void setOpaque(Integer opaque)
getTopic
public String getTopic()
setTopic
public void setTopic(String topic)
hashCode
public int hashCode()
- 覆盖:
- 类
Object
中的 hashCode
equals
public boolean equals(Object obj)
- 覆盖:
- 类
Object
中的 equals
Copyright © 2010–2013. All rights reserved.