Connection Class |
public sealed class Connection : IDisposable
The Connection type exposes the following members.
| Name | Description | |
|---|---|---|
| Connection | Initializes a new instance of the Connection class |
| Name | Description | |
|---|---|---|
| Diagnostics | Diagnostics. | |
| LogLevel | Log level for this connection. |
| Name | Description | |
|---|---|---|
| AllAvailable | All currently properties available in the property sync. | |
| AllExchanged | All currently local properties synchronized with the property sync. | |
| ConnectAsync | Start connecting to the Multi Model Sync. | |
| DisconnectAsync | Disconnect from the Multi Model Sync. | |
| Dispose | Disconnect from the Multi Model Sync. | |
| FindExchanged | Find a property. | |
| IsAvailable | Is a property available | |
| Update | Request a refresh of the property sync. |
| Name | Description | |
|---|---|---|
| OnConnected | Occurs when the connection has completed successfully. Called in the model thread. | |
| OnConnectionFailed | Called when a connection fails, or a connection is closed due to an error. | |
| OnDisconnected | Called when disconnection is complete. Called in the model thread. | |
| OnDisconnecting | Occurs when DisconnectAsync or Dispose is called. | |
| OnPropertyAdded | Occurs when a new local property is being exchanged with the property sync. Called in the model thread. | |
| OnPropertyAvailable | Occurs when a new property is made available to the property sync. Called in the model thread. | |
| OnPropertyRemoved | Occurs when a local property is no longer being exchanged with the property sync. Called in the model thread. | |
| OnPropertyUnavailable | Occurs when a property is no lon ger available to the property sync. Called in the model thread. |