C# 클래스 SignalR.Hubs.Hub

Provides methods that communicate with SignalR connections that connected to a Hub.
상속: IHub, IConnected, IDisconnect
파일 보기 프로젝트 열기: Icenium/SignalR

공개 메소드들

메소드 설명
Connect ( ) : System.Threading.Tasks.Task

Called when the connection connects to this hub instance.

Disconnect ( ) : System.Threading.Tasks.Task

Called when a connection disconnects from this hub instance.

Reconnect ( IEnumerable groups ) : System.Threading.Tasks.Task

Called when the connection reconnects to this hub instance.

RejoiningGroups ( IEnumerable groups ) : IEnumerable

Called before a connection completes reconnecting to this IHub instance.

보호된 메소드들

메소드 설명
Hub ( ) : System.Collections.Generic

메소드 상세

Connect() 공개 메소드

Called when the connection connects to this hub instance.
public Connect ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Disconnect() 공개 메소드

Called when a connection disconnects from this hub instance.
public Disconnect ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Hub() 보호된 메소드

protected Hub ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Reconnect() 공개 메소드

Called when the connection reconnects to this hub instance.
public Reconnect ( IEnumerable groups ) : System.Threading.Tasks.Task
groups IEnumerable The groups that the client was subscribed to
리턴 System.Threading.Tasks.Task

RejoiningGroups() 공개 메소드

Called before a connection completes reconnecting to this IHub instance.
public RejoiningGroups ( IEnumerable groups ) : IEnumerable
groups IEnumerable The groups the reconnecting client claims to be a member of.
리턴 IEnumerable