Beispiel #1
0
 public DeviceConnectionHub(
     DeviceConnectionsMappingService connections,
     IglooSmartHomeContext context)
 {
     _connections = connections;
     _context     = context;
 }
Beispiel #2
0
 public UserConnectionHub(
     UserConnectionsMappingService userConnections,
     DeviceConnectionsMappingService deviceConnections,
     IglooSmartHomeContext context)
 {
     _userConnections   = userConnections;
     _deviceConnections = deviceConnections;
     _context           = context;
     AddHandlers();
 }
Beispiel #3
0
 public SignalRResponseListener(ConnectionMapping <K> connectionMapping)
 {
     _connectionMapping     = connectionMapping;
     _taskCompletionSources = new Dictionary <Guid, TaskCompletionSource <T> >();
 }