dcrud  0.0.0
Distributed data and services
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Network Class Reference

#include <Network.hpp>

Collaboration diagram for Network:
Collaboration graph

Static Public Member Functions

static IParticipantjoin (unsigned int id, const io::InetSocketAddress &addr, const std::string &intrfc)
 
static IParticipantjoin (unsigned int id, const io::InetSocketAddress &addr)
 
static void leave (IParticipant &participant)
 

Detailed Description

Definition at line 9 of file Network.hpp.

Member Function Documentation

static IParticipant& join ( unsigned int  id,
const io::InetSocketAddress addr,
const std::string &  intrfc 
)
static
Parameters
idparticipant id
addrIP address:port pair
intrfcthe network interface to use, identified by its IP address
static IParticipant& join ( unsigned int  id,
const io::InetSocketAddress addr 
)
static
Parameters
idparticipant id
addrIP address:port pair Note: The first up, non loopback, multicast capable interface will be used
static void leave ( IParticipant participant)
static

The documentation for this class was generated from the following file: