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

Inheritance: ICommunicationListener
Mostra file Open project: Rurouni/MassiveOnlineUniversalServerEngine

Public Methods

Method 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

Method 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 method

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
return void

CloseAsync() public method

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
return Task

OpenAsync() public method

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
return Task

OrleansCommunicationListener() public method

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