dcrud
0.0.0
Distributed data and services
Main Page
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Network.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
io/InetSocketAddress.hpp
>
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
}
dcrud::Network::leave
static void leave(IParticipant &participant)
dcrud::Network::join
static IParticipant & join(unsigned int id, const io::InetSocketAddress &addr, const std::string &intrfc)
InetSocketAddress.hpp
io::InetSocketAddress
Definition:
InetSocketAddress.hpp:7
dcrud::Network
Definition:
Network.hpp:9
dcrud::IParticipant
Definition:
IParticipant.hpp:17
inc
dcrud
Network.hpp
Generated on Sun Jan 10 2016 19:24:09 for dcrud by
1.8.7