C# Class Base.CometAsyncResult

Inheritance: IAsyncResult
Afficher le fichier Open project: Appacts/mobile-analytics-server

Méthodes publiques

Свойство Type Description
Callback AsyncCallback
Context System.Web.HttpContext
Positive bool

Méthodes publiques

Méthode Description
CometAsyncResult ( ) : System

Default constructor. Can be used when request completed synchronously. In this case must set CompletedSynchronously to true.

CometAsyncResult ( HttpContext context, AsyncCallback asyncCallback, int accountId, int dataId ) : System

Initializes a new instance of the CometAsyncResult class.

Method Details

CometAsyncResult() public méthode

Default constructor. Can be used when request completed synchronously. In this case must set CompletedSynchronously to true.
public CometAsyncResult ( ) : System
Résultat System

CometAsyncResult() public méthode

Initializes a new instance of the CometAsyncResult class.
public CometAsyncResult ( HttpContext context, AsyncCallback asyncCallback, int accountId, int dataId ) : System
context System.Web.HttpContext The context.
asyncCallback AsyncCallback The async callback.
accountId int The account id.
dataId int The data id.
Résultat System

Property Details

Callback public_oe property

Callback that will be called when operation is completed (When we have notification about hanges, or timeout)
public AsyncCallback Callback
Résultat AsyncCallback

Context public_oe property

public HttpContext,System.Web Context
Résultat System.Web.HttpContext

Positive public_oe property

True when there is notification, False if timeout
public bool Positive
Résultat bool