BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
DeviceSearchCommand requests a device manager to start searching for a single device specified by either its: More...
#include <DeviceSearchCommand.h>
Public Types | |
typedef Poco::AutoPtr < DeviceSearchCommand > | Ptr |
Public Types inherited from BeeeOn::Command | |
typedef Poco::AutoPtr< Command > | Ptr |
Public Member Functions | |
DeviceSearchCommand (const DevicePrefix &prefix, const DeviceCriteria &criteria, const Poco::Timespan &duration) | |
DeviceCriteria | criteria () const |
bool | hasIPAddress () const |
Poco::Net::IPAddress | ipAddress () const |
bool | hasMACAddress () const |
MACAddress | macAddress () const |
bool | hasSerialNumber () const |
uint64_t | serialNumber () const |
Poco::Timespan | duration () const |
std::string | toString () const override |
Public Member Functions inherited from BeeeOn::PrefixCommand | |
PrefixCommand (const DevicePrefix &prefix) | |
DevicePrefix | prefix () const |
Public Member Functions inherited from BeeeOn::Command | |
std::string | name () const |
CommandHandler * | sendingHandler () const |
virtual Result::Ptr | deriveResult (Answer::Ptr answer) const |
Public Member Functions inherited from BeeeOn::Castable | |
template<typename T > | |
bool | is () |
template<typename T > | |
bool | is () const |
template<typename C > | |
const C & | cast () const |
template<typename C > | |
C & | cast () |
Additional Inherited Members | |
Protected Member Functions inherited from BeeeOn::Command | |
void | setSendingHandler (CommandHandler *sender) |
Protected Attributes inherited from BeeeOn::Command | |
CommandHandler * | m_sendingHandler |
DeviceSearchCommand requests a device manager to start searching for a single device specified by either its:
This command is not mandatory to be supported.
|
overridevirtual |
Converts Command to human readable format.
Reimplemented from BeeeOn::Command.