Public Member Functions | |
DeviceMonitor (DSPortAdapter adapter) | |
Create a simple monitor that does not search branches. | |
void | setAdapter (DSPortAdapter adapter) |
Sets this monitor to search a new DSPortAdapter. | |
OWPath | getDevicePath (Long address) |
Returns the OWPath of the device with the given address. | |
void | setDoAlarmSearch (boolean findAlarmingParts) |
Sets this monitor to search for alarming parts. | |
boolean | getDoAlarmSearch () |
See if Gets this monitor to search for alarming parts. | |
void | search (Vector arrivals, Vector departures) throws OneWireException, OneWireIOException |
Performs a search of the 1-Wire network without searching branches. |
DeviceMonitor | ( | DSPortAdapter | adapter | ) |
Create a simple monitor that does not search branches.
the | DSPortAdapter this monitor should search |
void setAdapter | ( | DSPortAdapter | adapter | ) | [virtual] |
Sets this monitor to search a new DSPortAdapter.
the | DSPortAdapter this monitor should search |
Implements AbstractDeviceMonitor.
OWPath getDevicePath | ( | Long | address | ) | [virtual] |
Returns the OWPath of the device with the given address.
address | a Long object representing the address of the device |
Implements AbstractDeviceMonitor.
void setDoAlarmSearch | ( | boolean | findAlarmingParts | ) |
Sets this monitor to search for alarming parts.
the | DSPortAdapter this monitor should search |
boolean getDoAlarmSearch | ( | ) |
See if Gets this monitor to search for alarming parts.
the | DSPortAdapter this monitor should search |
void search | ( | Vector | arrivals, | |
Vector | departures | |||
) | throws OneWireException, OneWireIOException [virtual] |
Performs a search of the 1-Wire network without searching branches.
arrivals | A vector of Long objects, represent new arrival addresses. | |
departures | A vector of Long objects, represent departed addresses. |
Implements AbstractDeviceMonitor.