예제 #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;
            }
예제 #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>();
 }
예제 #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>();
 }
예제 #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();
        }
예제 #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();
        }
예제 #6
0
 public void Init(IGateway gateway, uOSSettings settings, string instanceId)
 {
     this.gateway = (UnityGateway)gateway;
     this.logger = this.gateway.logger;
 }
예제 #7
0
 public void Init(IGateway gateway, uOSSettings settings, string instanceId)
 {
     this.gateway = (UnityGateway)gateway;
     this.logger  = this.gateway.logger;
 }
예제 #8
0
 public GatewayServer(UnityGateway gateway)
     : base(gateway.logger)
 {
     this.gateway = gateway;
 }
예제 #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;
            }
예제 #10
0
 public ReflectionServiceCaller(uOSSettings settings, UnityGateway gateway)
 {
     this.gateway = gateway;
     this.logger  = gateway.logger;
 }
예제 #11
0
 public ReflectionServiceCaller(uOSSettings settings, UnityGateway gateway)
 {
     this.gateway = gateway;
     this.logger = gateway.logger;
 }
예제 #12
0
 public GatewayServer(UnityGateway gateway)
     : base(gateway.logger)
 {
     this.gateway = gateway;
 }
예제 #13
0
파일: uOSApp.cs 프로젝트: LBNunes/Avatar
 public void TearDown()
 {
     this.gateway = null;
 }
예제 #14
0
파일: uOSApp.cs 프로젝트: LBNunes/Avatar
 public void Init(IGateway gateway, uOSSettings settings)
 {
     this.gateway = (UnityGateway) gateway;
 }
예제 #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);
 }