public static RpcCommandCode valueOf(short value) {
        switch (value) {
            case 1:
                return RPC_REQUEST;
            case 2:
                return RPC_RESPONSE;
        }
        throw new IllegalArgumentException("Unknown Rpc command code value: " + value);
    }
Command code for rpc remoting command.
@author jiangping
@version $Id: RpcCommandCode.java, v 0.1 2015-9-21 PM5:05:59 tao Exp $
src/main/java/com/alipay/remoting/rpc/protocol/RpcCommandCode.java