C# Class Microsoft.Orleans.ServiceFabric.Silo.OrleansCommunicationListener

Inheritance: ICommunicationListener
Afficher le fichier Open project: Rurouni/MassiveOnlineUniversalServerEngine

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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.

Method Details

Abort() public méthode

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
Résultat void

CloseAsync() public méthode

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
Résultat Task

OpenAsync() public méthode

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
Résultat Task

OrleansCommunicationListener() public méthode

public OrleansCommunicationListener ( StatelessServiceContext parameters, ClusterConfiguration configuration, IServicePartition servicePartition ) : System
parameters StatelessServiceContext
configuration ClusterConfiguration
servicePartition IServicePartition
Résultat System