Пример #1
0
        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);
            }
        }
Пример #2
0
 public void ping_async(ITerminalGatewayServer_AsyncCallBack async)
 {
     ping_async(async, null, null);
 }
Пример #3
0
 public void ping_async(ITerminalGatewayServer_AsyncCallBack async, Dictionary <string, string> props)
 {
     ping_async(async, props, null);
 }