mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-30 05:29:43 +01:00 
			
		
		
		
	Problem: monitor events are unversioned
Solution: add monitor event socket option
This commit is contained in:
		 Simon Giesecke
					Simon Giesecke
				
			
				
					committed by
					
						 Simon Giesecke
						Simon Giesecke
					
				
			
			
				
	
			
			
			 Simon Giesecke
						Simon Giesecke
					
				
			
						parent
						
							2e73554644
						
					
				
				
					commit
					01371398e9
				
			
							
								
								
									
										10
									
								
								src/pipe.hpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/pipe.hpp
									
									
									
									
									
								
							| @@ -37,6 +37,7 @@ | ||||
| #include "array.hpp" | ||||
| #include "blob.hpp" | ||||
| #include "options.hpp" | ||||
| #include "endpoint.hpp" | ||||
|  | ||||
| namespace zmq | ||||
| { | ||||
| @@ -141,8 +142,8 @@ class pipe_t : public object_t, | ||||
|     //  Returns true if HWM is not reached | ||||
|     bool check_hwm () const; | ||||
|  | ||||
|     void set_endpoint_uri (const char *name_); | ||||
|     std::string &get_endpoint_uri (); | ||||
|     void set_endpoint_pair (endpoint_uri_pair_t endpoint_pair_); | ||||
|     const endpoint_uri_pair_t &get_endpoint_pair () const; | ||||
|  | ||||
|   private: | ||||
|     //  Type of the underlying lock-free pipe. | ||||
| @@ -247,9 +248,8 @@ class pipe_t : public object_t, | ||||
|  | ||||
|     const bool _conflate; | ||||
|  | ||||
|     // If the pipe belongs to socket's endpoint the endpoint's name is stored here. | ||||
|     // Otherwise this is empty. | ||||
|     std::string _endpoint_uri; | ||||
|     // The endpoints of this pipe. | ||||
|     endpoint_uri_pair_t _endpoint_pair; | ||||
|  | ||||
|     //  Disable copying. | ||||
|     pipe_t (const pipe_t &); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user