Exemplo n.º 1
0
            public ServerThreadData(GatewayServer gatewayServer, NetworkDevice device)
            {
                this.gatewayServer = gatewayServer;
                this.device        = device;

                thread = new Thread(new ThreadStart(ConnectionThread));
                thread.Start();
            }
Exemplo n.º 2
0
        /// <summary>
        /// Releases this Gateway.
        /// </summary>
        public void TearDown()
        {
            if (radar != null)
            {
                radar.TearDown();
                radar = null;
            }

            server.TearDown();
            server = null;

            foreach (ChannelManager cm in channelManagers.Values)
            {
                cm.TearDown();
            }
            channelManagers.Clear();
            channelManagers = null;

            if (app != null)
            {
                app.TearDown();
            }
        }
Exemplo n.º 3
0
            public ServerThreadData(GatewayServer gatewayServer, NetworkDevice device)
            {
                this.gatewayServer = gatewayServer;
                this.device = device;

                thread = new Thread(new ThreadStart(ConnectionThread));
                thread.Start();
            }
Exemplo n.º 4
0
 private void PrepareServer()
 {
     server = new GatewayServer(this);
 }
Exemplo n.º 5
0
        /// <summary>
        /// Releases this Gateway.
        /// </summary>
        public void TearDown()
        {
            if (radar != null)
            {
                radar.TearDown();
                radar = null;
            }

            server.TearDown();
            server = null;

            foreach (ChannelManager cm in channelManagers.Values)
                cm.TearDown();
            channelManagers.Clear();
            channelManagers = null;

            if (app != null)
                app.TearDown();
        }
Exemplo n.º 6
0
 private void PrepareServer()
 {
     server = new GatewayServer(this);
 }