C# Class ServiceFabric.BasicChatServer.BasicChatServer

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

Méthodes publiques

Méthode Description
BasicChatServer ( StatefulServiceContext serviceContext ) : Microsoft.ServiceFabric.Data.Collections

Méthodes protégées

Méthode Description
CreateServiceReplicaListeners ( ) : IEnumerable
RunAsync ( CancellationToken cancelServicePartitionReplica ) : Task

Private Methods

Méthode Description
CreateNetNode ( StatefulServiceContext initParams ) : INetNode
OnRoomJoin ( JoinRoom msg, IOperationContext context ) : Task
OnRoomLeave ( INetChannel channel ) : Task
OnSay ( Say msg, IOperationContext context ) : Task

Method Details

BasicChatServer() public méthode

public BasicChatServer ( StatefulServiceContext serviceContext ) : Microsoft.ServiceFabric.Data.Collections
serviceContext StatefulServiceContext
Résultat Microsoft.ServiceFabric.Data.Collections

CreateServiceReplicaListeners() protected méthode

protected CreateServiceReplicaListeners ( ) : IEnumerable
Résultat IEnumerable

RunAsync() protected méthode

protected RunAsync ( CancellationToken cancelServicePartitionReplica ) : Task
cancelServicePartitionReplica System.Threading.CancellationToken
Résultat Task