Esempio n. 1
0
File: test.cs Progetto: demonxjj/TCE
        public void ping_async(ITerminalGatewayServer_AsyncCallBack async, Dictionary <string, string> props, object cookie)
        {
            bool       r_3 = false;
            RpcMessage m_4 = new RpcMessage(RpcMessage.CALL | RpcMessage.ASYNC);

            m_4.ifidx     = 1;
            m_4.opidx     = 0;
            m_4.paramsize = 0;
            m_4.extra.setProperties(props);
            m_4.cookie = cookie;
            try{
                m_4.prx   = this;
                m_4.async = async;
            }catch (Exception e) {
                throw new RpcException(RpcException.RPCERROR_DATADIRTY, e.ToString());
            }
            r_3 = this.conn.sendMessage(m_4);
            if (!r_3)
            {
                throw new RpcException(RpcException.RPCERROR_SENDFAILED);
            }
        }
Esempio n. 2
0
File: test.cs Progetto: demonxjj/TCE
 public void ping_async(ITerminalGatewayServer_AsyncCallBack async)
 {
     ping_async(async, null, null);
 }
Esempio n. 3
0
File: test.cs Progetto: demonxjj/TCE
 public void ping_async(ITerminalGatewayServer_AsyncCallBack async, Dictionary <string, string> props)
 {
     ping_async(async, props, null);
 }