BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions
BeeeOn::DeviceSearchCommand Class Reference

DeviceSearchCommand requests a device manager to start searching for a single device specified by either its: More...

#include <DeviceSearchCommand.h>

Inheritance diagram for BeeeOn::DeviceSearchCommand:
BeeeOn::PrefixCommand BeeeOn::Command BeeeOn::Castable

Public Types

typedef Poco::AutoPtr
< DeviceSearchCommand
Ptr
 
- Public Types inherited from BeeeOn::Command
typedef Poco::AutoPtr< CommandPtr
 

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
 
CommandHandlersendingHandler () 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
CommandHandlerm_sendingHandler
 

Detailed Description

DeviceSearchCommand requests a device manager to start searching for a single device specified by either its:

This command is not mandatory to be supported.

Member Function Documentation

string DeviceSearchCommand::toString ( ) const
overridevirtual

Converts Command to human readable format.

Reimplemented from BeeeOn::Command.


The documentation for this class was generated from the following files: