Exemplo n.º 1
0
 public AsyncHandler(AsyncCallback callback, FluorineGateway gateway, HttpApplication httpApplication, Object state)
 {
     _gateway = gateway;
     _callback = callback;
     _httpApplication = httpApplication;
     _state = state;
     _completed = false;
 }
Exemplo n.º 2
0
 public AsyncHandler(AsyncCallback callback, FluorineGateway gateway, HttpApplication httpApplication, Object state)
 {
     _gateway         = gateway;
     _callback        = callback;
     _httpApplication = httpApplication;
     _state           = state;
     _completed       = false;
 }
Exemplo n.º 3
0
 public AsyncHandler(AsyncCallback callback, FluorineGateway gateway, HttpApplication httpApplication, object state)
 {
     this._gateway         = gateway;
     this._callback        = callback;
     this._httpApplication = httpApplication;
     this._state           = state;
     this._completed       = false;
 }
Exemplo n.º 4
0
 private void AsyncTask(object state)
 {
     // Restore HttpContext
     //CallContext.SetData("HttpContext", _httpApplication.Context);
     HttpContext.Current = _httpApplication.Context;
     _gateway.ProcessRequest(_httpApplication);
     _gateway = null;
     _httpApplication = null;
     _completed = true;
     _callback(this);
 }
Exemplo n.º 5
0
 private void AsyncTask(object state)
 {
     // Restore HttpContext
     //CallContext.SetData("HttpContext", _httpApplication.Context);
     HttpContext.Current = _httpApplication.Context;
     _gateway.ProcessRequest(_httpApplication);
     _gateway         = null;
     _httpApplication = null;
     _completed       = true;
     _callback(this);
 }
Exemplo n.º 6
0
 private void AsyncTask(object state)
 {
     HttpContext.Current = this._httpApplication.Context;
     this._gateway.HandleXAmfEx(this._httpApplication);
     this._gateway.HandleSWX(this._httpApplication);
     this._gateway.HandleJSONRPC(this._httpApplication);
     this._gateway.HandleRtmpt(this._httpApplication);
     this._gateway         = null;
     this._httpApplication = null;
     this._completed       = true;
     this._callback(this);
 }