public StreamConnectionThreadData(UnityGateway gateway, CallContext msgContext, NetworkDevice networkDevice) { this.gateway = gateway; this.thread = new Thread(new ThreadStart(Run)); this.msgContext = msgContext; this.networkDevice = networkDevice; }
public DeviceManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.gateway = gateway; this.logger = gateway.logger; this.currentDevice = currentDevice; this.deviceDao = new DeviceDAO(); this.deviceDao.Add(currentDevice); this.driverManager = gateway.driverManager; this.unknownDrivers = new HashSet <string>(); this.dependents = new HashSet <DriverModel>(); }
public DeviceManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.gateway = gateway; this.logger = gateway.logger; this.currentDevice = currentDevice; this.deviceDao = new DeviceDAO(); this.deviceDao.Add(currentDevice); this.driverManager = gateway.driverManager; this.unknownDrivers = new HashSet<string>(); this.dependents = new HashSet<DriverModel>(); }
public DriverManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.settings = settings; this.gateway = gateway; this.logger = gateway.logger; this.driverDao = new DriverDAO(); this.currentDevice = currentDevice; this.instances = new Dictionary <long?, UOSDriver>(); this.toInitialize = new List <string>(); this.driverHash = new Dictionary <string, TreeNode>(); InitTree(); }
public DriverManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.settings = settings; this.gateway = gateway; this.logger = gateway.logger; this.driverDao = new DriverDAO(); this.currentDevice = currentDevice; this.instances = new Dictionary<long?, UOSDriver>(); this.toInitialize = new List<string>(); this.driverHash = new Dictionary<string, TreeNode>(); InitTree(); }
public void Init(IGateway gateway, uOSSettings settings, string instanceId) { this.gateway = (UnityGateway)gateway; this.logger = this.gateway.logger; }
public GatewayServer(UnityGateway gateway) : base(gateway.logger) { this.gateway = gateway; }
public ReflectionServiceCaller(uOSSettings settings, UnityGateway gateway) { this.gateway = gateway; this.logger = gateway.logger; }
public void TearDown() { this.gateway = null; }
public void Init(IGateway gateway, uOSSettings settings) { this.gateway = (UnityGateway) gateway; }
public void Init(IGateway gateway, uOSSettings settings, string instanceId) { this.gateway = (UnityGateway)gateway; this.instanceId = instanceId; pins.Clear(); driverListeners.Clear(); gateway.Register(this, null, DRIVER_NAME, null, UPDATE_EVENT_NAME); }