Beispiel #1
0
 /// <summary>
 /// Handler for the results to pair a bluetooth device received event to pass it on to the PairBluetoothDeviceListReceived handler.
 /// </summary>
 /// <param name="sender">The <see cref="WebSocket{PairBluetoothDevicesInfo}"/> object sending the event.</param>
 /// <param name="args">The event data.</param>
 private void PairBluetoothReceivedHandler(
     WebSocket <PairBluetoothDevicesInfo> sender,
     WebSocketMessageReceivedEventArgs <PairBluetoothDevicesInfo> args)
 {
     if (args.Message != null)
     {
         this.PairBluetoothDeviceListReceived?.Invoke(
             this,
             args);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Handler for the system performance information received event that passes the event to the SystemPerfMessageReceived handler.
 /// </summary>
 /// <param name="sender">The <see cref="WebSocket{SystemPerformanceInformation}"/> object sending the event.</param>
 /// <param name="args">The event data.</param>
 private void SystemPerfReceivedHandler(
     WebSocket <SystemPerformanceInformation> sender,
     WebSocketMessageReceivedEventArgs <SystemPerformanceInformation> args)
 {
     if (args.Message != null)
     {
         this.SystemPerfMessageReceived?.Invoke(
             this,
             args);
     }
 }
Beispiel #3
0
 /// <summary>
 /// Handler for the ETW received event that passes the event to the RealtimeEventsMessageReceived handler.
 /// </summary>
 /// <param name="sender">The <see cref="WebSocket{EtwEvents}"/> object sending the event.</param>
 /// <param name="args">The event data.</param>
 private void EtwEventsReceivedHandler(
     WebSocket <EtwEvents> sender,
     WebSocketMessageReceivedEventArgs <EtwEvents> args)
 {
     if (args.Message != null)
     {
         this.RealtimeEventsMessageReceived?.Invoke(
             this,
             args);
     }
 }
Beispiel #4
0
 /// <summary>
 /// Handler for the processes received event that passes the event to the RunningProcessesMessageReceived handler.
 /// </summary>
 /// <param name="sender">The <see cref="WebSocket{RunningProcesses}"/> object sending the event.</param>
 /// <param name="args">The event data.</param>
 private void RunningProcessesReceivedHandler(
     WebSocket <RunningProcesses> sender,
     WebSocketMessageReceivedEventArgs <RunningProcesses> args)
 {
     if (args.Message != null)
     {
         this.RunningProcessesMessageReceived?.Invoke(
             this,
             args);
     }
 }
Beispiel #5
0
 /// <summary>
 /// Handler for the processes received event that passes the event to the ProcessesMessageReceived handler.
 /// </summary>
 /// <param name="sender">The object sending the event.</param>
 /// <param name="args">The event data.</param>
 private void ProcessesReceivedHandler(
     object sender,
     WebSocketMessageReceivedEventArgs <DeviceProcesses> args)
 {
     if (args.Message != null)
     {
         this.ProcessesMessageReceived?.Invoke(
             this,
             args);
     }
 }