summaryrefslogtreecommitdiff
path: root/src/i_inout.hpp
diff options
context:
space:
mode:
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;
};
}