OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
contrail::sandesh::protocol::TXMLProtocol::LookaheadReader Class Reference

#include <TXMLProtocol.h>

Collaboration diagram for contrail::sandesh::protocol::TXMLProtocol::LookaheadReader:

Public Member Functions

 LookaheadReader (TTransport &trans)
 
uint8_t read ()
 
uint8_t peek ()
 
uint8_t peek2 ()
 

Private Attributes

TTransporttrans_
 
bool hasData_
 
uint8_t data_
 
bool has2Data_
 
uint8_t data2_ [2]
 
bool firstRead_
 

Detailed Description

Definition at line 239 of file TXMLProtocol.h.

Constructor & Destructor Documentation

contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::LookaheadReader ( TTransport trans)
inline

Definition at line 243 of file TXMLProtocol.h.

Member Function Documentation

uint8_t contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::peek ( )
inline

Definition at line 271 of file TXMLProtocol.h.

Here is the call graph for this function:

uint8_t contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::peek2 ( )
inline

Definition at line 279 of file TXMLProtocol.h.

Here is the call graph for this function:

uint8_t contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::read ( )
inline

Definition at line 250 of file TXMLProtocol.h.

Here is the call graph for this function:

Member Data Documentation

uint8_t contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::data2_[2]
private

Definition at line 294 of file TXMLProtocol.h.

uint8_t contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::data_
private

Definition at line 292 of file TXMLProtocol.h.

bool contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::firstRead_
private

Definition at line 295 of file TXMLProtocol.h.

bool contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::has2Data_
private

Definition at line 293 of file TXMLProtocol.h.

bool contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::hasData_
private

Definition at line 291 of file TXMLProtocol.h.

TTransport* contrail::sandesh::protocol::TXMLProtocol::LookaheadReader::trans_
private

Definition at line 290 of file TXMLProtocol.h.


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