C# 클래스 Base.CometAsyncResult

상속: IAsyncResult
파일 보기 프로젝트 열기: Appacts/mobile-analytics-server

공개 프로퍼티들

프로퍼티 타입 설명
Callback AsyncCallback
Context System.Web.HttpContext
Positive bool

공개 메소드들

메소드 설명
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.

메소드 상세

CometAsyncResult() 공개 메소드

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

CometAsyncResult() 공개 메소드

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.
리턴 System

프로퍼티 상세

Callback 공개적으로 프로퍼티

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

Context 공개적으로 프로퍼티

public HttpContext,System.Web Context
리턴 System.Web.HttpContext

Positive 공개적으로 프로퍼티

True when there is notification, False if timeout
public bool Positive
리턴 bool