C# 클래스 ServiceFabric.BasicChatServer.BasicChatServer

상속: StatefulService
파일 보기 프로젝트 열기: Rurouni/MassiveOnlineUniversalServerEngine

공개 메소드들

메소드 설명
BasicChatServer ( StatefulServiceContext serviceContext ) : Microsoft.ServiceFabric.Data.Collections

보호된 메소드들

메소드 설명
CreateServiceReplicaListeners ( ) : IEnumerable
RunAsync ( CancellationToken cancelServicePartitionReplica ) : Task

비공개 메소드들

메소드 설명
CreateNetNode ( StatefulServiceContext initParams ) : INetNode
OnRoomJoin ( JoinRoom msg, IOperationContext context ) : Task
OnRoomLeave ( INetChannel channel ) : Task
OnSay ( Say msg, IOperationContext context ) : Task

메소드 상세

BasicChatServer() 공개 메소드

public BasicChatServer ( StatefulServiceContext serviceContext ) : Microsoft.ServiceFabric.Data.Collections
serviceContext StatefulServiceContext
리턴 Microsoft.ServiceFabric.Data.Collections

CreateServiceReplicaListeners() 보호된 메소드

protected CreateServiceReplicaListeners ( ) : IEnumerable
리턴 IEnumerable

RunAsync() 보호된 메소드

protected RunAsync ( CancellationToken cancelServicePartitionReplica ) : Task
cancelServicePartitionReplica System.Threading.CancellationToken
리턴 Task