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