C# 클래스 Microsoft.Orleans.ServiceFabric.Silo.OrleansCommunicationListener

상속: ICommunicationListener
파일 보기 프로젝트 열기: Rurouni/MassiveOnlineUniversalServerEngine

공개 메소드들

메소드 설명
Abort ( ) : void

This method causes the communication listener to close. Close is a terminal state and this method causes the transition to close ungracefully. Any outstanding operations (including close) should be canceled when this method is called.

CloseAsync ( CancellationToken cancellationToken ) : Task

This method causes the communication listener to close. Close is a terminal state and this method allows the communication listener to transition to this state in a graceful manner.

OpenAsync ( CancellationToken cancellationToken ) : Task

This method causes the communication listener to be opened. Once the Open completes, the communication listener becomes usable - accepts and sends messages.

OrleansCommunicationListener ( StatelessServiceContext parameters, ClusterConfiguration configuration, IServicePartition servicePartition ) : System

비공개 메소드들

메소드 설명
GetNodeAddress ( string host ) : Task

Returns the host's network address.

IsLinkLocal ( IPAddress address ) : bool

Returns if the provided address is a local-only address.

MonitorSilo ( ) : void

Monitors the current silo, reporting a fault to the current partition if it fails.

메소드 상세

Abort() 공개 메소드

This method causes the communication listener to close. Close is a terminal state and this method causes the transition to close ungracefully. Any outstanding operations (including close) should be canceled when this method is called.
public Abort ( ) : void
리턴 void

CloseAsync() 공개 메소드

This method causes the communication listener to close. Close is a terminal state and this method allows the communication listener to transition to this state in a graceful manner.
public CloseAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken Cancellation token
리턴 Task

OpenAsync() 공개 메소드

This method causes the communication listener to be opened. Once the Open completes, the communication listener becomes usable - accepts and sends messages.
public OpenAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken Cancellation token
리턴 Task

OrleansCommunicationListener() 공개 메소드

public OrleansCommunicationListener ( StatelessServiceContext parameters, ClusterConfiguration configuration, IServicePartition servicePartition ) : System
parameters StatelessServiceContext
configuration ClusterConfiguration
servicePartition IServicePartition
리턴 System