C# Class Emergy.Api.Hubs.EmergyHub

Inheritance: Hub
Show file Open project: gboduljak/Emergy

Public Methods

Method Description
EmergyHub ( IUnitsRepository unitsRepository, IReportsRepository reportsRepository, IRepository notificationsRepository, IRepository messagesRepository, IRepository locationsRepository ) : System.Threading.Tasks
OnConnected ( ) : System.Threading.Tasks.Task
OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task
OnReconnected ( ) : System.Threading.Tasks.Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SendNotification ( int notificationId ) : System.Threading.Tasks.Task
TestPush ( string greeting ) : void
UpdateUserLocation ( int locationId, int reportId ) : System.Threading.Tasks.Task

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EmergyHub() public method

public EmergyHub ( IUnitsRepository unitsRepository, IReportsRepository reportsRepository, IRepository notificationsRepository, IRepository messagesRepository, IRepository locationsRepository ) : System.Threading.Tasks
unitsRepository IUnitsRepository
reportsRepository IReportsRepository
notificationsRepository IRepository
messagesRepository IRepository
locationsRepository IRepository
return System.Threading.Tasks

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

OnReconnected() public method

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