OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.ControlPanel.ConnectionStatusEventArgs Class Reference

A connection status has been changed. More...

Inheritance diagram for OSDP.Net.ControlPanel.ConnectionStatusEventArgs:

Public Member Functions

 ConnectionStatusEventArgs (Guid connectionId, byte address, bool isConnected, bool isSecureChannelEstablished)
 Initializes a new instance of the ConnectionStatusEventArgs class.
override string ToString ()

Properties

Guid ConnectionId [get]
 Identify the connection for communicating to the device.
byte Address [get]
 Address assigned to the device.
bool IsConnected [get]
 Is the device currently connected?
bool IsSecureChannelEstablished [get]
 Is the secure channel currently established.

Detailed Description

A connection status has been changed.

Definition at line 1692 of file ControlPanel.cs.

Constructor & Destructor Documentation

◆ ConnectionStatusEventArgs()

OSDP.Net.ControlPanel.ConnectionStatusEventArgs.ConnectionStatusEventArgs ( Guid connectionId,
byte address,
bool isConnected,
bool isSecureChannelEstablished )
inline

Initializes a new instance of the ConnectionStatusEventArgs class.

Parameters
connectionIdIdentify the connection for communicating to the device.
addressAddress assigned to the device.
isConnectedIs the device currently connected?
isSecureChannelEstablishedIs the secure channel currently established.

Definition at line 1701 of file ControlPanel.cs.

References Address, ConnectionId, IsConnected, and IsSecureChannelEstablished.

Property Documentation

◆ Address

byte OSDP.Net.ControlPanel.ConnectionStatusEventArgs.Address
get

Address assigned to the device.

Definition at line 1718 of file ControlPanel.cs.

Referenced by ConnectionStatusEventArgs(), and OSDP.Net.ControlPanel.DiscoverDevice().

◆ ConnectionId

Guid OSDP.Net.ControlPanel.ConnectionStatusEventArgs.ConnectionId
get

Identify the connection for communicating to the device.

Definition at line 1713 of file ControlPanel.cs.

Referenced by ConnectionStatusEventArgs().

◆ IsConnected

bool OSDP.Net.ControlPanel.ConnectionStatusEventArgs.IsConnected
get

Is the device currently connected?

Definition at line 1723 of file ControlPanel.cs.

Referenced by ConnectionStatusEventArgs(), and OSDP.Net.ControlPanel.DiscoverDevice().

◆ IsSecureChannelEstablished

bool OSDP.Net.ControlPanel.ConnectionStatusEventArgs.IsSecureChannelEstablished
get

Is the secure channel currently established.

Definition at line 1728 of file ControlPanel.cs.

Referenced by ConnectionStatusEventArgs(), and OSDP.Net.ControlPanel.DiscoverDevice().


The documentation for this class was generated from the following file: