public void Run() { //Connect to Touch Portal: _client.Connect(); //Start sending messages: SendMessages(); }
/// <summary> /// Initialized the Touch Portal Message Processor /// </summary> private bool Initialize() { if (!_client.Connect()) { return(false); } // Setup SimConnect Events _simConnectService.OnDataUpdateEvent += SimConnectEvent_OnDataUpdateEvent; _simConnectService.OnConnect += SimConnectEvent_OnConnect; _simConnectService.OnDisconnect += SimConnectEvent_OnDisconnect; return(true); }
public void Connect() => _client.Connect();
public void Run() { _client.Connect(); }
public void Init() { //Connecting to TouchPortal: _client.Connect(); }