diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-05-05 14:24:54 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-05-05 14:24:54 +0200 |
commit | 835e893e54598ff474067cc68b787440baf6b05c (patch) | |
tree | b529fbc8fea71f01a38064a65722924cdcbc4ed4 /src/object.hpp | |
parent | 10f5334f2891b187ce57f38186cf977406097ab0 (diff) |
dispatcher_t class renamed to ctx_t
Diffstat (limited to 'src/object.hpp')
-rw-r--r-- | src/object.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/object.hpp b/src/object.hpp index 0084e1a..a38b0a6 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -32,15 +32,15 @@ namespace zmq { public: - object_t (class dispatcher_t *dispatcher_, uint32_t thread_slot_); + object_t (class ctx_t *ctx_, uint32_t thread_slot_); object_t (object_t *parent_); virtual ~object_t (); uint32_t get_thread_slot (); - dispatcher_t *get_dispatcher (); + ctx_t *get_ctx (); void process_command (struct command_t &cmd_); - // Allow pipe to access corresponding dispatcher functions. + // Allow pipe to access corresponding context functions. void register_pipe (class pipe_t *pipe_); void unregister_pipe (class pipe_t *pipe_); @@ -101,8 +101,8 @@ namespace zmq private: - // Pointer to the root of the infrastructure. - class dispatcher_t *dispatcher; + // Context provides access to the global state. + class ctx_t *ctx; // Slot ID of the thread the object belongs to. uint32_t thread_slot; |