com.alipay.remoting.rpc
Class RequestCommand
java.lang.Object
com.alipay.remoting.rpc.RpcCommand
com.alipay.remoting.rpc.RequestCommand
- All Implemented Interfaces:
- RemotingCommand, Serializable
- Direct Known Subclasses:
- HeartbeatCommand, RpcRequestCommand
public abstract class RequestCommand
- extends RpcCommand
Command of request.
- See Also:
- Serialized Form
|
Method Summary |
int |
getTimeout()
Getter method for property timeout. |
void |
setTimeout(int timeout)
Setter method for property timeout. |
| Methods inherited from class com.alipay.remoting.rpc.RpcCommand |
deserialize, deserialize, deserializeClazz, deserializeContent, deserializeHeader, getClazz, getClazzLength, getCmdCode, getContent, getContentLength, getHeader, getHeaderLength, getId, getInvokeContext, getProtocolCode, getProtocolSwitch, getSerializer, getType, getVersion, serialize, serializeClazz, serializeContent, serializeHeader, setClazz, setCmdCode, setContent, setHeader, setId, setInvokeContext, setProtocolSwitch, setSerializer, setType, setVersion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestCommand
public RequestCommand()
RequestCommand
public RequestCommand(CommandCode code)
RequestCommand
public RequestCommand(byte type,
CommandCode code)
RequestCommand
public RequestCommand(byte version,
byte type,
CommandCode code)
getTimeout
public int getTimeout()
- Getter method for property timeout.
- Returns:
- property value of timeout
setTimeout
public void setTimeout(int timeout)
- Setter method for property timeout.
- Parameters:
timeout - value to be assigned to property timeout
Copyright © 2018. All rights reserved.