//---------------------------------------------------------------------
        public void onRpcMethod(ushort method_id, byte[] data)
        {
            onRecv(method_id, data);

            RpcSlotBase rpc_slot = null;

            mMapRpcSlot.TryGetValue(method_id, out rpc_slot);
            if (rpc_slot == null)
            {
                return;
            }

            rpc_slot.onRpcMethod(data);
        }
Exemple #2
0
        //---------------------------------------------------------------------
        public void onRpcMethod(ushort method_id, byte[] data)
        {
            onRecv(method_id, data);

            RpcSlotBase rpc_slot = null;

            mMapRpcSlot.TryGetValue(method_id, out rpc_slot);
            if (rpc_slot == null)
            {
                EbLog.Error("RpcCallee._onRpcMethod() not found method_id. method_id = " + method_id);
                return;
            }

            rpc_slot.onRpcMethod(data);
        }