internal void StartConnection() { if (Connection == null) { return; } (Connection.parser as InitialPacketParser).PolicyRequest += PolicyRequest; (Connection.parser as InitialPacketParser).SwitchParserRequest += SwitchParserRequest; Connection.startPacketProcessing(); }
public void StartConnection() { if (_connection == null) { return; } PingCount = 0; (_connection.parser as InitialPacketParser).PolicyRequest += PolicyRequest; (_connection.parser as InitialPacketParser).SwitchParserRequest += SwitchParserRequest; _connection.startPacketProcessing(); }
/// <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(); }
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(); }