Beispiel #1
0
        private BaseResponse _handler_Invoke(BasePacket packet)
        {
            InvokeRequest p = packet as InvokeRequest;

            ProxyHolder proxy = this.GetProxyByID(p.ObjectID);

            if (proxy == null)
            {
                throw new Exception("Proxy Nr. not found: " + p.ObjectID);
            }

            return(new InvokeResponse(proxy.Invoke(p.Name, p.Arguments), p));
        }