BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions
BeeeOn::DeviceUnpairCommand Class Reference
Inheritance diagram for BeeeOn::DeviceUnpairCommand:
BeeeOn::PrefixCommand BeeeOn::Command BeeeOn::Castable

Public Types

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

Public Member Functions

 DeviceUnpairCommand (const DeviceID &deviceID, const Poco::Timespan &timeout=10 *Poco::Timespan::SECONDS)
 
DeviceID deviceID () const
 
Poco::Timespan timeout () const
 
std::string toString () const override
 
Result::Ptr deriveResult (Answer::Ptr answer) 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
 
- 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
 

Member Function Documentation

Result::Ptr DeviceUnpairCommand::deriveResult ( Answer::Ptr  answer) const
overridevirtual

Derive result appropriate for the Command instance. The result is always created in the PENDING state.

The default implementation returns an instance of class Result as it is suitable for most commands. Specific command would override this method to derive another Result (sub)class.

Reimplemented from BeeeOn::Command.

string DeviceUnpairCommand::toString ( ) const
overridevirtual

Converts Command to human readable format.

Reimplemented from BeeeOn::Command.


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