C# 클래스 Microsoft.Azure.Networking.Infrastructure.RingMaster.Backend.BackendRequestWithContext

Implements the ability to associate a context with a request.
상속: BackendRequest
파일 보기 프로젝트 열기: Azure/RingMaster 1 사용 예제들

공개 메소드들

메소드 설명
DataEquals ( IRingMasterBackendRequest obj ) : bool
Equals ( object obj ) : bool

Determines whether the specified object is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

보호된 메소드들

메소드 설명
BackendRequestWithContext ( request, object context ) : System

Initializes a new instance of the BackendRequestWithContext{TRequest, TReturn} class.

InvokeCallback ( int resultCode, object result, IStat stat, string responsePath ) : void
MakeUid ( ulong uid ) : ulong

Assigns a unique uid if the given uid is zero.

NotifyComplete ( int resultCode, result, IStat stat, string responsePath ) : void

Notifies that the request has been completed.

메소드 상세

BackendRequestWithContext() 보호된 메소드

Initializes a new instance of the BackendRequestWithContext{TRequest, TReturn} class.
protected BackendRequestWithContext ( request, object context ) : System
request The request
context object The context associated with the request
리턴 System

DataEquals() 공개 메소드

public DataEquals ( IRingMasterBackendRequest obj ) : bool
obj IRingMasterBackendRequest
리턴 bool

Equals() 공개 메소드

Determines whether the specified object is equal to this instance.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
리턴 bool

GetHashCode() 공개 메소드

Returns a hash code for this instance.
public GetHashCode ( ) : int
리턴 int

InvokeCallback() 보호된 최종 메소드

protected final InvokeCallback ( int resultCode, object result, IStat stat, string responsePath ) : void
resultCode int
result object
stat IStat
responsePath string
리턴 void

MakeUid() 보호된 정적인 메소드

Assigns a unique uid if the given uid is zero.
protected static MakeUid ( ulong uid ) : ulong
uid ulong The uid to assign (or zero)
리턴 ulong

NotifyComplete() 보호된 추상적인 메소드

Notifies that the request has been completed.
protected abstract NotifyComplete ( int resultCode, result, IStat stat, string responsePath ) : void
resultCode int result code
result The result
stat IStat The stat
responsePath string The response path
리턴 void