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

#include <TJSONProtocol.h>

Collaboration diagram for contrail::sandesh::protocol::TJSONProtocol::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 176 of file TJSONProtocol.h.

Constructor & Destructor Documentation

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

Definition at line 180 of file TJSONProtocol.h.

Member Function Documentation

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

Definition at line 208 of file TJSONProtocol.h.

Here is the call graph for this function:

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

Definition at line 216 of file TJSONProtocol.h.

Here is the call graph for this function:

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

Definition at line 187 of file TJSONProtocol.h.

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 231 of file TJSONProtocol.h.

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

Definition at line 229 of file TJSONProtocol.h.

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

Definition at line 232 of file TJSONProtocol.h.

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

Definition at line 230 of file TJSONProtocol.h.

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

Definition at line 228 of file TJSONProtocol.h.

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

Definition at line 227 of file TJSONProtocol.h.


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