summaryrefslogtreecommitdiff
path: root/src/i_inout.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-23 19:37:56 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-23 19:37:56 +0100
commitaebff623f36efddc0de7a3192832b61802f8cec8 (patch)
treefd3c88417309994b72b5a33f152ba4b028930fa9 /src/i_inout.hpp
parentb3bd4c15fe869de4f5c530ecc5942968677a85c3 (diff)
ZMQII-28: Bidirectional introduction on TCP connection establishment
Diffstat (limited to 'src/i_inout.hpp')
-rw-r--r--src/i_inout.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i_inout.hpp b/src/i_inout.hpp
index b82a476..8a0ce6a 100644
--- a/src/i_inout.hpp
+++ b/src/i_inout.hpp
@@ -22,6 +22,8 @@
#include "../bindings/c/zmq.h"
+#include "stdint.hpp"
+
namespace zmq
{
@@ -47,8 +49,8 @@ namespace zmq
// Return pointer to the owning socket.
virtual class socket_base_t *get_owner () = 0;
- // Returns the name of associated session.
- virtual const char *get_session_name () = 0;
+ // Return ordinal number of the session.
+ virtual uint64_t get_ordinal () = 0;
};
}