public class RpcProtocolFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_RPC_BROKER_VERSION |
static int |
RPC_BROKER_PROTOCOL_V1 |
static int |
RPC_BROKER_PROTOCOL_V2 |
Constructor and Description |
---|
RpcProtocolFactory() |
Modifier and Type | Method and Description |
---|---|
static IRpcProtocol |
getDefaultProtocol() |
static IRpcProtocol |
getProtocol(int protocol) |
public static final int RPC_BROKER_PROTOCOL_V1
public static final int RPC_BROKER_PROTOCOL_V2
public static final int DEFAULT_RPC_BROKER_VERSION
public static IRpcProtocol getProtocol(int protocol) throws java.lang.Exception
java.lang.Exception
public static IRpcProtocol getDefaultProtocol() throws java.lang.Exception
java.lang.Exception