Exemplo n.º 1
0
Arquivo: test.cs Projeto: demonxjj/TCE
        public void datetime_async(BaseServer_AsyncCallBack async, Dictionary <string, string> props, object cookie)
        {
            bool       r_8 = false;
            RpcMessage m_9 = new RpcMessage(RpcMessage.CALL | RpcMessage.ASYNC);

            m_9.ifidx     = 0;
            m_9.opidx     = 0;
            m_9.paramsize = 0;
            m_9.extra.setProperties(props);
            m_9.cookie = cookie;
            try{
                m_9.prx   = this;
                m_9.async = async;
            }catch (Exception e) {
                throw new RpcException(RpcException.RPCERROR_DATADIRTY, e.ToString());
            }
            r_8 = this.conn.sendMessage(m_9);
            if (!r_8)
            {
                throw new RpcException(RpcException.RPCERROR_SENDFAILED);
            }
        }
Exemplo n.º 2
0
Arquivo: test.cs Projeto: demonxjj/TCE
 public void datetime_async(BaseServer_AsyncCallBack async)
 {
     datetime_async(async, null, null);
 }
Exemplo n.º 3
0
Arquivo: test.cs Projeto: demonxjj/TCE
 public void datetime_async(BaseServer_AsyncCallBack async, Dictionary <string, string> props)
 {
     datetime_async(async, props, null);
 }