Nedap.HandheldApi
|
Defines connection state with timed state update and device wakeup with timeout. More...
Public Member Functions | |
ConnectionState (ICommunicationQueue CommunicationQueue) | |
void | Dispose () |
bool | CheckConnection () |
Check device connection state. | |
Properties | |
int | MaxWithNoAnswer [get, set] |
Maximum number of seconds to pass without answer from device (in miliseconds). Default value is 5 seconds (5000 miliseconds). | |
int | CheckInterval [get, set] |
Device connection status checking interval (in miliseconds). Default value is 5 seconds (5000 miliseconds). | |
Events | |
EventHandler< EventArgs > | DeviceConnected |
Triggers when device connects. | |
EventHandler< EventArgs > | DeviceDisconnected |
Triggers when device disconnects. | |
PropertyChangedEventHandler | PropertyChanged |
Triggers when device connection state changes. |
Defines connection state with timed state update and device wakeup with timeout.
bool Nedap.HandheldApi.ConnectionState.CheckConnection | ( | ) |
Check device connection state.
Implements Nedap.HandheldApi.IConnectionState.
int Nedap.HandheldApi.ConnectionState.CheckInterval [get, set] |
Device connection status checking interval (in miliseconds). Default value is 5 seconds (5000 miliseconds).
Implements Nedap.HandheldApi.IConnectionState.
int Nedap.HandheldApi.ConnectionState.MaxWithNoAnswer [get, set] |
Maximum number of seconds to pass without answer from device (in miliseconds). Default value is 5 seconds (5000 miliseconds).
Implements Nedap.HandheldApi.IConnectionState.
EventHandler<EventArgs> Nedap.HandheldApi.ConnectionState.DeviceConnected |
Triggers when device connects.
Implements Nedap.HandheldApi.IConnectionState.
EventHandler<EventArgs> Nedap.HandheldApi.ConnectionState.DeviceDisconnected |
Triggers when device disconnects.
Implements Nedap.HandheldApi.IConnectionState.
PropertyChangedEventHandler Nedap.HandheldApi.ConnectionState.PropertyChanged |
Triggers when device connection state changes.
Implements Nedap.HandheldApi.IConnectionState.