org.apache.hadoop.oncrpc
Class RpcMessage
java.lang.Object
org.apache.hadoop.oncrpc.RpcMessage
- Direct Known Subclasses:
- RpcCall, RpcReply
public abstract class RpcMessage
- extends Object
Represent an RPC message as defined in RFC 1831.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RPC_CALL
public static final int RPC_CALL
- See Also:
- Constant Field Values
RPC_REPLY
public static final int RPC_REPLY
- See Also:
- Constant Field Values
xid
protected final int xid
messageType
protected final int messageType
getXid
public int getXid()
getMessageType
public int getMessageType()
validateMessageType
protected void validateMessageType(int expected)
Copyright © 2009 The Apache Software Foundation