hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zmsg Class Reference

#include <zmsg.hpp>

Public Types

typedef std::basic_string
< unsigned char > 
ustring

Public Member Functions

 zmsg ()
 zmsg (char const *body)
 zmsg (char const *body, zmq::socket_t &socket)
 zmsg (zmq::socket_t &socket)
 zmsg (const zmsg &msg)
virtual ~zmsg ()
void clear ()
void set_part (size_t part_nbr, unsigned char *data)
bool recv (zmq::socket_t &socket)
void send (zmq::socket_t &socket)
size_t parts () const
void body_set (const char *body)
void body_fmt (const char *format,...)
char * body ()
void push_front (char *part)
void push_back (char *part)
ustring pop_front ()
void append (const char *part)
char * address ()
void wrap (const char *address, const char *delim)
char * unwrap ()
unsigned int size ()
std::string dump (bool outToCErr=false) const

Static Public Member Functions

static char * encode_uuid (unsigned char *data)
static unsigned char * decode_uuid (char *uuidstr)
static int test (int verbose)

Detailed Description

Definition at line 41 of file zmsg.hpp.

Member Typedef Documentation

typedef std::basic_string<unsigned char> zmsg::ustring

Definition at line 43 of file zmsg.hpp.

Constructor & Destructor Documentation

zmsg::zmsg ( )
inline

Definition at line 45 of file zmsg.hpp.

zmsg::zmsg ( char const *  body)
inline

Definition at line 50 of file zmsg.hpp.

Here is the call graph for this function:

zmsg::zmsg ( char const *  body,
zmq::socket_t socket 
)
inline

Definition at line 56 of file zmsg.hpp.

Here is the call graph for this function:

zmsg::zmsg ( zmq::socket_t socket)
inline

Definition at line 63 of file zmsg.hpp.

Here is the call graph for this function:

zmsg::zmsg ( const zmsg msg)
inline

Definition at line 69 of file zmsg.hpp.

virtual zmsg::~zmsg ( )
inlinevirtual

Definition at line 74 of file zmsg.hpp.

Here is the call graph for this function:

Member Function Documentation

char* zmsg::address ( )
inline

Definition at line 256 of file zmsg.hpp.

Here is the caller graph for this function:

void zmsg::append ( const char *  part)
inline

Definition at line 251 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

char* zmsg::body ( )
inline

Definition at line 178 of file zmsg.hpp.

Here is the caller graph for this function:

void zmsg::body_fmt ( const char *  format,
  ... 
)
inline

Definition at line 167 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void zmsg::body_set ( const char *  body)
inline

Definition at line 160 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void zmsg::clear ( void  )
inline

Definition at line 80 of file zmsg.hpp.

Here is the caller graph for this function:

static unsigned char* zmsg::decode_uuid ( char *  uuidstr)
inlinestatic

Definition at line 220 of file zmsg.hpp.

Here is the caller graph for this function:

std::string zmsg::dump ( bool  outToCErr = false) const
inline

Definition at line 291 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static char* zmsg::encode_uuid ( unsigned char *  data)
inlinestatic

Definition at line 200 of file zmsg.hpp.

Here is the caller graph for this function:

size_t zmsg::parts ( ) const
inline

Definition at line 156 of file zmsg.hpp.

Here is the caller graph for this function:

ustring zmsg::pop_front ( )
inline

Definition at line 242 of file zmsg.hpp.

Here is the caller graph for this function:

void zmsg::push_back ( char *  part)
inline

Definition at line 191 of file zmsg.hpp.

Here is the caller graph for this function:

void zmsg::push_front ( char *  part)
inline

Definition at line 186 of file zmsg.hpp.

Here is the caller graph for this function:

bool zmsg::recv ( zmq::socket_t socket)
inline

Definition at line 90 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void zmsg::send ( zmq::socket_t socket)
inline

Definition at line 133 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void zmsg::set_part ( size_t  part_nbr,
unsigned char *  data 
)
inline

Definition at line 84 of file zmsg.hpp.

unsigned int zmsg::size ( )
inline

Definition at line 282 of file zmsg.hpp.

Here is the caller graph for this function:

static int zmsg::test ( int  verbose)
inlinestatic

Definition at line 322 of file zmsg.hpp.

Here is the call graph for this function:

char* zmsg::unwrap ( )
inline

Definition at line 271 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void zmsg::wrap ( const char *  address,
const char *  delim 
)
inline

Definition at line 264 of file zmsg.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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