|
plptools
|
A factory for automatically instantiating the correct RFSV protocol variant depending on the connected Psion. More...
#include <rfsvfactory.h>
Public Member Functions | |
| RFSVFactory (const std::string &host, int port) | |
| Constructs a RFSVFactory. More... | |
| ~RFSVFactory () | |
| Delete the RFSVFactory, cleaning up any resources. More... | |
| RFSV * | create (bool, Enum< ConnectionError > *error=nullptr) |
| Creates a new RFSV instance. More... | |
Private Attributes | |
| std::string | host_ |
| int | port_ |
A factory for automatically instantiating the correct RFSV protocol variant depending on the connected Psion.
Definition at line 36 of file rfsvfactory.h.
| RFSVFactory::RFSVFactory | ( | const std::string & | host, |
| int | port | ||
| ) |
Constructs a RFSVFactory.
| host | The host be used for connecting to the ncpd daemon. |
| port | The port be used for connecting to the ncpd daemon. |
Definition at line 30 of file rfsvfactory.cc.
| RFSVFactory::~RFSVFactory | ( | ) |
Delete the RFSVFactory, cleaning up any resources.
Definition at line 34 of file rfsvfactory.cc.
| RFSV * RFSVFactory::create | ( | bool | reconnect, |
| Enum< ConnectionError > * | error = nullptr |
||
| ) |
Creates a new RFSV instance.
| reconnect | Set to true, if automatic reconnect should be performed on failure. |
| error | Out parameter; set to the error on failure if non-NULL. |
Definition at line 36 of file rfsvfactory.cc.
|
private |
Definition at line 64 of file rfsvfactory.h.
|
private |
Definition at line 65 of file rfsvfactory.h.