Example #1
0
File: test.cs Project: demonxjj/TCE
        // func: ping
        bool func_0_delegate(RpcMessage m)
        {
            bool r = false;
            ITerminalGatewayServer servant = (ITerminalGatewayServer)this.inst;
            RpcContext             ctx     = new RpcContext();

            ctx.msg = m;
            servant.ping(ctx);
            if ((m.calltype & RpcMessage.ONEWAY) != 0)
            {
                return(true);
            }

            return(r);
        }
Example #2
0
File: test.cs Project: demonxjj/TCE
 public ITerminalGatewayServer_delegate(ITerminalGatewayServer inst)
 {
     this.ifidx = 1;
     this.inst  = inst;
 }