public static void initProtocols() {
        ProtocolManager.registerProtocol(new RpcProtocol(), RpcProtocol.PROTOCOL_CODE);
        ProtocolManager.registerProtocol(new RpcProtocolV2(), RpcProtocolV2.PROTOCOL_CODE);
    }
Protocol manager.

@author tsui
@version $Id: RpcProtocols.java, v 0.1 2018-03-27 19:42 tsui Exp $
src/main/java/com/alipay/remoting/rpc/protocol/RpcProtocolManager.java