예제 #1
0
파일: test.cs 프로젝트: 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);
            }
        }
예제 #2
0
파일: test.cs 프로젝트: demonxjj/TCE
 public void datetime_async(BaseServer_AsyncCallBack async)
 {
     datetime_async(async, null, null);
 }
예제 #3
0
파일: test.cs 프로젝트: demonxjj/TCE
 public void datetime_async(BaseServer_AsyncCallBack async, Dictionary <string, string> props)
 {
     datetime_async(async, props, null);
 }