Exemplo n.º 1
0
            public StreamConnectionThreadData(UnityGateway gateway, CallContext msgContext, NetworkDevice networkDevice)
            {
                this.gateway = gateway;

                this.thread        = new Thread(new ThreadStart(Run));
                this.msgContext    = msgContext;
                this.networkDevice = networkDevice;
            }
Exemplo n.º 2
0
 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>();
 }
Exemplo n.º 3
0
 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>();
 }
Exemplo n.º 4
0
        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();
        }
Exemplo n.º 5
0
        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();
        }
Exemplo n.º 6
0
 public void Init(IGateway gateway, uOSSettings settings, string instanceId)
 {
     this.gateway = (UnityGateway)gateway;
     this.logger = this.gateway.logger;
 }
Exemplo n.º 7
0
 public void Init(IGateway gateway, uOSSettings settings, string instanceId)
 {
     this.gateway = (UnityGateway)gateway;
     this.logger  = this.gateway.logger;
 }
Exemplo n.º 8
0
 public GatewayServer(UnityGateway gateway)
     : base(gateway.logger)
 {
     this.gateway = gateway;
 }
Exemplo n.º 9
0
            public StreamConnectionThreadData(UnityGateway gateway, CallContext msgContext, NetworkDevice networkDevice)
            {
                this.gateway = gateway;

                this.thread = new Thread(new ThreadStart(Run));
                this.msgContext = msgContext;
                this.networkDevice = networkDevice;
            }
Exemplo n.º 10
0
 public ReflectionServiceCaller(uOSSettings settings, UnityGateway gateway)
 {
     this.gateway = gateway;
     this.logger  = gateway.logger;
 }
Exemplo n.º 11
0
 public ReflectionServiceCaller(uOSSettings settings, UnityGateway gateway)
 {
     this.gateway = gateway;
     this.logger = gateway.logger;
 }
Exemplo n.º 12
0
 public GatewayServer(UnityGateway gateway)
     : base(gateway.logger)
 {
     this.gateway = gateway;
 }
Exemplo n.º 13
0
 public void TearDown()
 {
     this.gateway = null;
 }
Exemplo n.º 14
0
 public void Init(IGateway gateway, uOSSettings settings)
 {
     this.gateway = (UnityGateway) gateway;
 }
Exemplo n.º 15
0
 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);
 }