client-cpp  0.10.0
kaa::KaaTcpParser Class Reference

#include <KaaTcpParser.hpp>

+ Inheritance diagram for kaa::KaaTcpParser:
+ Collaboration diagram for kaa::KaaTcpParser:

Public Member Functions

 KaaTcpParser (IKaaClientContext &context)
 
 ~KaaTcpParser ()
 
void parseBuffer (const char *buffer, std::uint32_t size)
 
boost::shared_array< char > getCurrentPayload () const
 
std::uint32_t getCurrentPayloadLength () const
 
KaaTcpMessageType getCurrentMessageType () const
 
MessageRecordList releaseMessages ()
 
void resetParser ()
 

Detailed Description

Definition at line 39 of file KaaTcpParser.hpp.

Constructor & Destructor Documentation

kaa::KaaTcpParser::KaaTcpParser ( IKaaClientContext context)
inline

Definition at line 42 of file KaaTcpParser.hpp.

kaa::KaaTcpParser::~KaaTcpParser ( )
inline

Definition at line 45 of file KaaTcpParser.hpp.

Member Function Documentation

KaaTcpMessageType kaa::KaaTcpParser::getCurrentMessageType ( ) const
inline

Definition at line 51 of file KaaTcpParser.hpp.

boost::shared_array<char> kaa::KaaTcpParser::getCurrentPayload ( ) const
inline

Definition at line 49 of file KaaTcpParser.hpp.

std::uint32_t kaa::KaaTcpParser::getCurrentPayloadLength ( ) const
inline

Definition at line 50 of file KaaTcpParser.hpp.

void kaa::KaaTcpParser::parseBuffer ( const char *  buffer,
std::uint32_t  size 
)
MessageRecordList kaa::KaaTcpParser::releaseMessages ( )
void kaa::KaaTcpParser::resetParser ( )

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