blob: 1ec39ca4f22ec52f5444f0030752d59b1a2f3557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// file : ACE_TMCast/Group.hpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id : $Id$
#ifndef TMCAST_GROUP_HPP
#define TMCAST_GROUP_HPP
#include <ace/Auto_Ptr.h>
#include <ace/INET_Addr.h>
#include "Export.hpp"
namespace ACE_TMCast
{
class ACE_TMCast_Export Group
{
public:
class Aborted {};
class Failed {};
class InvalidArg {};
class InsufficienSpace {};
public:
~Group ();
Group (ACE_INET_Addr const& addr, char const* id);
public:
void
send (void const* msg, size_t size);
size_t
recv (void* msg, size_t size);
private:
bool
failed ();
private:
class GroupImpl;
auto_ptr<GroupImpl> pimpl_;
private:
Group (Group const&);
Group&
operator= (Group const&);
};
}
#endif // TMCAST_GROUP_HPP
|