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

Classes

class  TBinaryProtocolT
 
class  TBinaryProtocolFactoryT
 
class  TJSONProtocol
 
class  TJSONProtocolFactory
 
class  TProtocol
 
class  TProtocolFactory
 
class  TProtocolDefaults
 
class  TVirtualProtocol
 
class  TXMLProtocol
 
class  TXMLProtocolFactory
 

Typedefs

typedef TBinaryProtocolT
< TTransport
TBinaryProtocol
 
typedef
TBinaryProtocolFactoryT
< TTransport
TBinaryProtocolFactory
 

Enumerations

enum  TType {
  T_STOP = 0, T_VOID = 1, T_BOOL = 2, T_BYTE = 3,
  T_I08 = 3, T_I16 = 6, T_I32 = 8, T_U64 = 9,
  T_I64 = 10, T_DOUBLE = 4, T_STRING = 11, T_UTF7 = 11,
  T_STRUCT = 12, T_MAP = 13, T_SET = 14, T_LIST = 15,
  T_UTF8 = 16, T_UTF16 = 17, T_SANDESH = 18, T_U16 = 19,
  T_U32 = 20, T_XML = 21, T_IPV4 = 22, T_UUID = 23,
  T_IPADDR = 24
}
 
enum  TMessageType { T_CALL = 1, T_REPLY = 2, T_EXCEPTION = 3, T_ONEWAY = 4 }
 

Functions

template<typename To , typename From >
static To bitwise_cast (From from)
 
template<class Protocol_ >
int32_t skip (Protocol_ &prot, TType type)
 

Typedef Documentation

Enumeration Type Documentation

Enumerated definition of the message types that the Thrift protocol supports.

Enumerator
T_CALL 
T_REPLY 
T_EXCEPTION 
T_ONEWAY 

Definition at line 173 of file TProtocol.h.

Enumerated definition of the types that the Thrift protocol supports. Take special note of the T_END type which is used specifically to mark the end of a sequence of fields.

Enumerator
T_STOP 
T_VOID 
T_BOOL 
T_BYTE 
T_I08 
T_I16 
T_I32 
T_U64 
T_I64 
T_DOUBLE 
T_STRING 
T_UTF7 
T_STRUCT 
T_MAP 
T_SET 
T_LIST 
T_UTF8 
T_UTF16 
T_SANDESH 
T_U16 
T_U32 
T_XML 
T_IPV4 
T_UUID 
T_IPADDR 

Definition at line 141 of file TProtocol.h.

Function Documentation

template<typename To , typename From >
static To contrail::sandesh::protocol::bitwise_cast ( From  from)
inlinestatic

Definition at line 47 of file TProtocol.h.

template<class Protocol_ >
int32_t contrail::sandesh::protocol::skip ( Protocol_ &  prot,
TType  type 
)

Helper template for implementing TProtocol::skip().

Templatized to avoid having to make virtual function calls.

Definition at line 187 of file TProtocol.h.