OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ > Class Template Reference

#include <TBinaryProtocol.h>

Inheritance diagram for contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >:
Collaboration diagram for contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >:

Public Member Functions

 TBinaryProtocolFactoryT ()
 
 TBinaryProtocolFactoryT (int32_t string_limit, int32_t container_limit, bool strict_read, bool strict_write)
 
virtual ~TBinaryProtocolFactoryT ()
 
void setStringSizeLimit (int32_t string_limit)
 
void setContainerSizeLimit (int32_t container_limit)
 
void setStrict (bool strict_read, bool strict_write)
 
boost::shared_ptr< TProtocolgetProtocol (boost::shared_ptr< TTransport > trans)
 
- Public Member Functions inherited from contrail::sandesh::protocol::TProtocolFactory
 TProtocolFactory ()
 
virtual ~TProtocolFactory ()
 

Private Attributes

int32_t string_limit_
 
int32_t container_limit_
 
bool strict_read_
 
bool strict_write_
 

Detailed Description

template<class Transport_>
class contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >

Constructs binary protocol handlers

Definition at line 269 of file TBinaryProtocol.h.

Constructor & Destructor Documentation

template<class Transport_ >
contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::TBinaryProtocolFactoryT ( )
inline

Definition at line 271 of file TBinaryProtocol.h.

template<class Transport_ >
contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::TBinaryProtocolFactoryT ( int32_t  string_limit,
int32_t  container_limit,
bool  strict_read,
bool  strict_write 
)
inline

Definition at line 277 of file TBinaryProtocol.h.

template<class Transport_ >
virtual contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::~TBinaryProtocolFactoryT ( )
inlinevirtual

Definition at line 284 of file TBinaryProtocol.h.

Member Function Documentation

template<class Transport_ >
boost::shared_ptr<TProtocol> contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::getProtocol ( boost::shared_ptr< TTransport trans)
inlinevirtual

Implements contrail::sandesh::protocol::TProtocolFactory.

Definition at line 299 of file TBinaryProtocol.h.

template<class Transport_ >
void contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::setContainerSizeLimit ( int32_t  container_limit)
inline

Definition at line 290 of file TBinaryProtocol.h.

template<class Transport_ >
void contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::setStrict ( bool  strict_read,
bool  strict_write 
)
inline

Definition at line 294 of file TBinaryProtocol.h.

template<class Transport_ >
void contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::setStringSizeLimit ( int32_t  string_limit)
inline

Definition at line 286 of file TBinaryProtocol.h.

Member Data Documentation

template<class Transport_ >
int32_t contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::container_limit_
private

Definition at line 317 of file TBinaryProtocol.h.

template<class Transport_ >
bool contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::strict_read_
private

Definition at line 318 of file TBinaryProtocol.h.

template<class Transport_ >
bool contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::strict_write_
private

Definition at line 319 of file TBinaryProtocol.h.

template<class Transport_ >
int32_t contrail::sandesh::protocol::TBinaryProtocolFactoryT< Transport_ >::string_limit_
private

Definition at line 316 of file TBinaryProtocol.h.


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