5 #include <Poco/Nullable.h>
6 #include <Poco/Timespan.h>
8 #include <Poco/Net/IPAddress.h>
10 #include "core/PrefixCommand.h"
11 #include "model/DeviceCriteria.h"
12 #include "model/DevicePrefix.h"
13 #include "net/MACAddress.h"
29 typedef Poco::AutoPtr<DeviceSearchCommand> Ptr;
34 const Poco::Timespan &duration);
38 bool hasIPAddress()
const;
39 Poco::Net::IPAddress ipAddress()
const;
41 bool hasMACAddress()
const;
44 bool hasSerialNumber()
const;
45 uint64_t serialNumber()
const;
47 Poco::Timespan duration()
const;
49 std::string
toString()
const override;
53 Poco::Timespan m_duration;
DeviceSearchCommand requests a device manager to start searching for a single device specified by eit...
Definition: DeviceSearchCommand.h:27
Definition: MACAddress.h:8
Ancestor for Commands that are related to a specific DevicePrefix only.
Definition: PrefixCommand.h:12
DeviceCriteria holds a criteria for device searching. Device can be search by one of the following pr...
Definition: DeviceCriteria.h:20
std::string toString() const override
Definition: DeviceSearchCommand.cpp:60