Esempio n. 1
0
        public SmartLockTcpHandlerManager()
        {
            SmartLockMap = new Dictionary <string, FSmartLockPair>();
            var app_handler = TcpHandler.CreateTcpHandler <TcpHandler_App>();

            app_handler.Init(7000, IPAddress.Any);
            var sl_handler = TcpHandler.CreateTcpHandler <TcpHandler_SmartLock>();

            sl_handler.Init(8000, IPAddress.Any);
        }