dcrud  0.0.0
Distributed data and services
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
IRegistry.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace dcrud {
6 
7  typedef std::set<io::InetSocketAddress> socketAddresses_t;
8  typedef socketAddresses_t::const_iterator socketAddressesCstIter_t;
9 
10  class IRegistry {
11  public:
12 
13  virtual ~ IRegistry(){}
14 
15  virtual const socketAddresses_t & getParticipants( void ) const = 0;
16  virtual const socketAddresses_t & getClients ( const std::string & interfaceName ) const = 0;
17  virtual const socketAddresses_t & getConsumers ( const std::string & dataName ) const = 0;
18  };
19 }
virtual const socketAddresses_t & getParticipants(void) const =0
virtual const socketAddresses_t & getClients(const std::string &interfaceName) const =0
virtual ~IRegistry()
Definition: IRegistry.hpp:13
socketAddresses_t::const_iterator socketAddressesCstIter_t
Definition: IRegistry.hpp:8
virtual const socketAddresses_t & getConsumers(const std::string &dataName) const =0
std::set< io::InetSocketAddress > socketAddresses_t
Definition: IRegistry.hpp:7