diff options
-rw-r--r-- | src/config.hpp | 4 | ||||
-rw-r--r-- | src/connect_session.hpp | 3 | ||||
-rw-r--r-- | src/named_session.hpp | 3 | ||||
-rw-r--r-- | src/transient_session.hpp | 3 |
4 files changed, 12 insertions, 1 deletions
diff --git a/src/config.hpp b/src/config.hpp index 5f822b4..81b5a2a 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -74,11 +74,13 @@ namespace zmq // Maximal delay to process command in API thread (in CPU ticks). // 3,000,000 ticks equals to 1 - 2 milliseconds on current CPUs. + // Note that delay is only applied when there is continuous stream of + // messages to process. If not so, commands are processed immediately. max_command_delay = 3000000, // Low-precision clock precision in CPU ticks. 1ms. Value of 1000000 // should be OK for CPU frequencies above 1GHz. If should work - // reasonably well fro CPU frequencies above 500MHz. For lower CPU + // reasonably well for CPU frequencies above 500MHz. For lower CPU // frequencies you may consider lowering this value to get best // possible latencies. clock_precision = 1000000, diff --git a/src/connect_session.hpp b/src/connect_session.hpp index 32f8f44..65037f8 100644 --- a/src/connect_session.hpp +++ b/src/connect_session.hpp @@ -53,6 +53,9 @@ namespace zmq // Address to connect to. std::string protocol; std::string address; + + connect_session_t (const connect_session_t&); + void operator = (const connect_session_t&); }; } diff --git a/src/named_session.hpp b/src/named_session.hpp index 7248c8f..335b4a9 100644 --- a/src/named_session.hpp +++ b/src/named_session.hpp @@ -49,6 +49,9 @@ namespace zmq // Name of the session. Corresponds to the peer's strong identity. blob_t name; + + named_session_t (const named_session_t&); + void operator = (const named_session_t&); }; } diff --git a/src/transient_session.hpp b/src/transient_session.hpp index 69e2217..2a7f3d5 100644 --- a/src/transient_session.hpp +++ b/src/transient_session.hpp @@ -40,6 +40,9 @@ namespace zmq // Hook into session's disconnection mechanism. void detached (); + + transient_session_t (const transient_session_t&); + void operator = (const transient_session_t&); }; } |