Example #1
0
        internal void StartConnection()
        {
            if (Connection == null)
            {
                return;
            }

            (Connection.parser as InitialPacketParser).PolicyRequest       += PolicyRequest;
            (Connection.parser as InitialPacketParser).SwitchParserRequest += SwitchParserRequest;

            Connection.startPacketProcessing();
        }
Example #2
0
        public void StartConnection()
        {
            if (_connection == null)
            {
                return;
            }

            PingCount = 0;

            (_connection.parser as InitialPacketParser).PolicyRequest       += PolicyRequest;
            (_connection.parser as InitialPacketParser).SwitchParserRequest += SwitchParserRequest;
            _connection.startPacketProcessing();
        }
Example #3
0
        /// <summary>
        /// Starts the connection.
        /// </summary>
        public void StartConnection()
        {
            if (_connection == null)
            {
                return;
            }

            TimePingedReceived = DateTime.Now;

            (_connection.parser as InitialPacketParser).PolicyRequest       += PolicyRequest;
            (_connection.parser as InitialPacketParser).SwitchParserRequest += SwitchParserRequest;
            _connection.startPacketProcessing();
        }
Example #4
0
        internal void StartConnection()
        {
            if (Connection == null)
            {
                return;
            }

            TimePingedReceived = DateTime.Now;

            (Connection.parser as InitialPacketParser).PolicyRequest       += new InitialPacketParser.NoParamDelegate(PolicyRequest);
            (Connection.parser as InitialPacketParser).SwitchParserRequest += new InitialPacketParser.NoParamDelegate(SwitchParserRequest);

            Connection.startPacketProcessing();
        }