C# 클래스 starsky.foundation.realtime.Services.WebSocketConnectionsService

상속: IWebSocketConnectionsService
파일 보기 프로젝트 열기: qdraw/starsky

공개 메소드들

메소드 설명
AddConnection ( WebSocketConnection connection ) : void
RemoveConnection ( Guid connectionId ) : void
SendToAllAsync ( string message, CancellationToken cancellationToken ) : Task
SendToAllAsync ( ApiNotificationResponseModel message, CancellationToken cancellationToken ) : Task
WebSocketConnectionsService ( IWebLogger logger ) : System

메소드 상세

AddConnection() 공개 메소드

public AddConnection ( WebSocketConnection connection ) : void
connection WebSocketConnection
리턴 void

RemoveConnection() 공개 메소드

public RemoveConnection ( Guid connectionId ) : void
connectionId Guid
리턴 void

SendToAllAsync() 공개 메소드

public SendToAllAsync ( string message, CancellationToken cancellationToken ) : Task
message string
cancellationToken CancellationToken
리턴 Task

SendToAllAsync() 공개 메소드

public SendToAllAsync ( ApiNotificationResponseModel message, CancellationToken cancellationToken ) : Task
message ApiNotificationResponseModel
cancellationToken CancellationToken
리턴 Task

WebSocketConnectionsService() 공개 메소드

public WebSocketConnectionsService ( IWebLogger logger ) : System
logger IWebLogger
리턴 System