C# Класс Microsoft.Orleans.ServiceFabric.Silo.OrleansCommunicationListener

Наследование: ICommunicationListener
Показать файл Открыть проект

Открытые методы

Метод Описание
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