C# Class ActorChat.Services.EventHubRoomActorService.EventHubRoomActorService

An instance of this class is created for each service instance by the Service Fabric runtime.
Inheritance: StatelessService
Show file Open project: Rurouni/MassiveOnlineUniversalServerEngine

Public Methods

Method Description
EventHubRoomActorService ( StatelessServiceContext context ) : System

Protected Methods

Method Description
CreateServiceInstanceListeners ( ) : IEnumerable

Optional override to create listeners (e.g., TCP, HTTP) for this service replica to handle client or user requests.

RunAsync ( CancellationToken cancellationToken ) : Task

This is the main entry point for your service instance.

Method Details

CreateServiceInstanceListeners() protected method

Optional override to create listeners (e.g., TCP, HTTP) for this service replica to handle client or user requests.
protected CreateServiceInstanceListeners ( ) : IEnumerable
return IEnumerable

EventHubRoomActorService() public method

public EventHubRoomActorService ( StatelessServiceContext context ) : System
context StatelessServiceContext
return System

RunAsync() protected method

This is the main entry point for your service instance.
protected RunAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken Canceled when Service Fabric needs to shut down this service instance.
return Task