Overview Tutorial API reference Examples Build Download ZmqMessage 0.1 - 21 Oct 2011

examples/zqueue.cpp File Reference

#include "pthread.h"
#include "ZmqMessage.hpp"

Functions

zmq::context_t ctx (1)
void * worker (void *)
int main (int, char **)

Variables

const char * endpoint = "inproc://transport"
const char * stop_endpoint = "inproc://stop"
const char * to_worker_fields [] = {"message_type", "request_identifier"}
const char * from_worker_fields [] = {"message_type", "response_identifier"}
uint64_t one_message_queue = 1

Detailed Description

Copyright (c) 2010-2011 Phorm, Inc. GNU LGPL v 3.0, see http://www.gnu.org/licenses/lgpl-3.0-standalone.html
Author:
Andrey Skryabin <andrew@zmqmessage.org>, et al.
Not-working example.

Function Documentation

zmq::context_t ctx (  ) 

int main ( int  ,
char **   
)

void* worker ( void *   ) 

Examples:
zqueue.cpp.


Variable Documentation

const char* endpoint = "inproc://transport"

Examples:
zbisort.cpp.

const char* from_worker_fields[] = {"message_type", "response_identifier"}

uint64_t one_message_queue = 1

Examples:
zqueue.cpp.

const char* stop_endpoint = "inproc://stop"

const char* to_worker_fields[] = {"message_type", "request_identifier"}


ZmqMessage 0.1 — open source software, support@zmqmessage.org