dcrud  0.0.0
Distributed data and services
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Network.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace dcrud {
6 
7  class IParticipant;
8 
9  class Network {
10  public:
11 
18  static IParticipant & join(
19  unsigned int id,
20  const io::InetSocketAddress & addr,
21  const std::string & intrfc );
22 
29  static IParticipant & join( unsigned int id, const io::InetSocketAddress & addr );
30 
31  static void leave( IParticipant & participant );
32  };
33 }
static void leave(IParticipant &participant)
static IParticipant & join(unsigned int id, const io::InetSocketAddress &addr, const std::string &intrfc)