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

include/ZmqMessage.hpp File Reference

#include <cstddef>
#include <vector>
#include <tr1/array>
#include <string>
#include <memory>
#include <zmq.hpp>
#include <ZmqMessageFwd.hpp>
#include <zmqmessage/Config.hpp>
#include <zmqmessage/DelObj.hpp>
#include <zmqmessage/NonCopyable.hpp>
#include <zmqmessage/MsgPtrVec.hpp>
#include <zmqmessage/RawMessage.hpp>
#include <ZmqTools.hpp>
#include "zmqmessage/ZmqMessageTemplateImpl.hpp"

Go to the source code of this file.

Namespaces

namespace  ZmqMessage

Classes

class  ZmqMessage::SimpleRouting
 Simple (not-X) Routing policy. More...
class  ZmqMessage::XRouting
 X routing policy. More...
class  ZmqMessage::Multipart
 Basic holder of message parts. More...
class  ZmqMessage::Multipart::iterator< T >
 Input iterator to iterate over message parts. More...
class  ZmqMessage::Incoming< RoutingPolicy >
 Incoming multipart ZMQ message. More...
struct  ZmqMessage::OutOptions
 Options for outgoing message. More...
class  ZmqMessage::Sink
 Base class for Outgoing message, does not depend on Routing policy. More...
class  ZmqMessage::Sink::iterator< T >
 Output iterator to facilitate inserting of message parts into outgoing message. More...
class  ZmqMessage::Sink::iterator< T >::AssignProxy
class  ZmqMessage::Outgoing< RoutingPolicy >
 Represents outgoing message to be sent. More...

Functions

void ZmqMessage::send (zmq::socket_t &sock, Multipart &multipart, bool nonblock) throw (ZmqErrorType)
Sink & ZmqMessage::NullMessage (Sink &out)
 Null (empty) message marker to send.
template<typename RoutingPolicy>
Incoming< RoutingPolicy > & ZmqMessage::Skip (Incoming< RoutingPolicy > &in)
 Skip current message part in incoming message.
Sink & ZmqMessage::Flush (Sink &out)
 Manipulator to flush outgoing message.
template<typename StreamAlike>
StreamAlike & ZmqMessage::Binary (StreamAlike &out)
 Manipulator to switch to binary mode.
template<typename StreamAlike>
StreamAlike & ZmqMessage::Text (StreamAlike &out)
 Manipulator to switch to text mode (default).


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.

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