Beispiel #1
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)
            {
                return;
            }

            rpc_slot.onRpcMethod(data);
        }
Beispiel #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);
        }