#include <factory.h>
Public Member Functions | |
std::unique_ptr< URCommander > | getCommander (URStream &stream) |
std::unique_ptr< URParser< RTPacket > > | getRTParser () |
std::unique_ptr< URParser< StatePacket > > | getStateParser () |
bool | isVersion3 () |
URFactory (std::string &host) | |
Private Member Functions | |
bool | consume (VersionMessage &vm) |
void | setupConsumer () |
void | stopConsumer () |
void | teardownConsumer () |
Private Member Functions inherited from URMessagePacketConsumer | |
virtual bool | consume (shared_ptr< MessagePacket > packet) |
Private Member Functions inherited from IConsumer< MessagePacket > | |
virtual void | onTimeout () |
Private Attributes | |
uint8_t | major_version_ |
uint8_t | minor_version_ |
URMessageParser | parser_ |
URStream | stream_ |
|
inlineprivatevirtual |
Implements URMessagePacketConsumer.
|
inline |
|
inline |
|
inlineprivatevirtual |
Reimplemented from IConsumer< MessagePacket >.
|
inlineprivatevirtual |
Reimplemented from IConsumer< MessagePacket >.
|
inlineprivatevirtual |
Reimplemented from IConsumer< MessagePacket >.
|
private |