C# Class XG.Plugin.Webserver.SignalR.Hub.AObjectHub

Inheritance: Microsoft.AspNet.SignalR.Hub
ファイルを表示 Open project: lformella/xdcc-grabscher

Public Methods

Method Description
OnConnected ( ) : System.Threading.Tasks.Task
OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task

Protected Methods

Method Description
AddClient ( Client aClient ) : void
GetClient ( string connectionId ) : Client
RemoveClient ( string connectionId ) : void
UpdateLoadedClientObjects ( string connectionId, HashSet aGuids, int aMaxObjects ) : void

Method Details

AddClient() protected abstract method

protected abstract AddClient ( Client aClient ) : void
aClient XG.Plugin.Webserver.SignalR.Hub.Model.Client
return void

GetClient() protected abstract method

protected abstract GetClient ( string connectionId ) : Client
connectionId string
return XG.Plugin.Webserver.SignalR.Hub.Model.Client

OnConnected() public method

public OnConnected ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

OnDisconnected() public method

public OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task
stopCalled bool
return System.Threading.Tasks.Task

RemoveClient() protected abstract method

protected abstract RemoveClient ( string connectionId ) : void
connectionId string
return void

UpdateLoadedClientObjects() protected method

protected UpdateLoadedClientObjects ( string connectionId, HashSet aGuids, int aMaxObjects ) : void
connectionId string
aGuids HashSet
aMaxObjects int
return void