#include <sandesh_session.h>
|  | 
| typedef boost::asio::const_buffer | Buffer | 
|  | 
|  | 
| static int | ExtractMsgHeader (const std::string &msg, SandeshHeader &header, std::string &msg_type, uint32_t &header_offset) | 
|  | 
Definition at line 102 of file sandesh_session.h.
 
◆ Buffer
◆ SandeshReader()
◆ ~SandeshReader()
  
  | 
        
          | SandeshReader::~SandeshReader | ( |  | ) |  |  | virtual | 
 
 
◆ DISALLOW_COPY_AND_ASSIGN()
◆ ExtractMsg()
  
  | 
        
          | bool SandeshReader::ExtractMsg | ( | Buffer | buffer, |  
          |  |  | int * | result, |  
          |  |  | bool | NewBuf |  
          |  | ) |  |  |  | private | 
 
 
◆ ExtractMsgHeader()
  
  | 
        
          | int SandeshReader::ExtractMsgHeader | ( | const std::string & | msg, |  
          |  |  | SandeshHeader & | header, |  
          |  |  | std::string & | msg_type, |  
          |  |  | uint32_t & | header_offset |  
          |  | ) |  |  |  | static | 
 
 
◆ ExtractMsgLength()
  
  | 
        
          | bool SandeshReader::ExtractMsgLength | ( | size_t & | msg_length, |  
          |  |  | int * | result |  
          |  | ) |  |  |  | private | 
 
 
◆ LeftOver()
  
  | 
        
          | bool SandeshReader::LeftOver | ( |  | ) | const |  | private | 
 
 
◆ MatchString()
  
  | 
        
          | int SandeshReader::MatchString | ( | const std::string & | match, |  
          |  |  | size_t & | m_offset |  
          |  | ) |  |  |  | private | 
 
 
◆ msg_length()
  
  | 
        
          | size_t SandeshReader::msg_length | ( |  | ) |  |  | inlineprivate | 
 
 
◆ MsgLengthKnown()
  
  | 
        
          | bool SandeshReader::MsgLengthKnown | ( |  | ) |  |  | inlineprivate | 
 
 
◆ OnRead()
  
  | 
        
          | void SandeshReader::OnRead | ( | Buffer | buffer | ) |  |  | virtual | 
 
 
◆ ReplaceBuf()
  
  | 
        
          | void SandeshReader::ReplaceBuf | ( | const std::string & | str | ) |  |  | private | 
 
 
◆ reset_msg_length()
  
  | 
        
          | void SandeshReader::reset_msg_length | ( |  | ) |  |  | inlineprivate | 
 
 
◆ set_msg_length()
  
  | 
        
          | void SandeshReader::set_msg_length | ( | size_t | length | ) |  |  | inlineprivate | 
 
 
◆ SetBuf()
  
  | 
        
          | void SandeshReader::SetBuf | ( | const std::string & | str | ) |  |  | private | 
 
 
◆ SetReceiveMsgCb()
◆ buf_
  
  | 
        
          | std::string SandeshReader::buf_ |  | private | 
 
 
◆ cb_
◆ cb_mutex_
  
  | 
        
          | tbb::mutex SandeshReader::cb_mutex_ |  | private | 
 
 
◆ kDefaultRecvSize
◆ msg_length_
  
  | 
        
          | size_t SandeshReader::msg_length_ |  | private | 
 
 
◆ offset_
  
  | 
        
          | size_t SandeshReader::offset_ |  | private | 
 
 
◆ session_
The documentation for this class was generated from the following files: