diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-06 12:51:32 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-06 12:51:32 +0200 |
commit | 0b5cc026fbe7ccc6de66907be29471562a2d344d (patch) | |
tree | a6051f238152e2261ea48942f0c216a3984cc9fd /src/pipe.hpp | |
parent | b8b4acef4c2ba1a169ce84c1fb4c70a5676ebba3 (diff) |
clean up - session/socket/engine stuff removed
Diffstat (limited to 'src/pipe.hpp')
-rw-r--r-- | src/pipe.hpp | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/src/pipe.hpp b/src/pipe.hpp index 8894a22..d771120 100644 --- a/src/pipe.hpp +++ b/src/pipe.hpp @@ -28,29 +28,10 @@ namespace zmq { - // Message pipe. A simple wrapper on top of ypipe. - + // Message pipe. class pipe_t : public ypipe_t <zmq_msg, false, message_pipe_granularity> { - // Context is a friend so that it can create & destroy the pipes. - // By making constructor & destructor private we are sure that nobody - // except context messes with pipes. - friend class context_t; - - private: - - pipe_t (); - ~pipe_t (); - - void set_index (int index_); - int get_index (); - - // Index of the pipe in context's array of pipes. - int index; - - pipe_t (const pipe_t&); - void operator = (const pipe_t&); - }; + }; } |