blob: 7dff4d2796fd49765ca44b3b30d686091d55ec50 (
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
52
53
54
55
|
/* -*- C++ -*- */
// $Id$
// ============================================================================
//
// = LIBRARY
// ace
//
// = FILENAME
// RMCast_Sender_Proxy_Factory.h
//
// = AUTHOR
// Carlos O'Ryan <coryan@uci.edu>
//
// ============================================================================
#ifndef ACE_RMCAST_SENDER_PROXY_FACTORY_H
#define ACE_RMCAST_SENDER_PROXY_FACTORY_H
#include "ace/pre.h"
#include "RMCast.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class ACE_RMCast_Sender_Proxy;
class ACE_RMCast_Export ACE_RMCast_Sender_Proxy_Factory
{
// = DESCRIPTION
// Defines the interface to create Sender_Proxies.
// The application provides a Sender_Proxy_Factory, this is used
// by the receiver side to create a different proxy for each
// remote sender. The application configures the proxy with the
// correct modules to process incoming events and achieve the
// desired level of reliability.
//
public:
virtual ~ACE_RMCast_Sender_Proxy_Factory (void);
// Destructor
virtual ACE_RMCast_Sender_Proxy *create (void) = 0;
// Create a new proxy
virtual void destroy (ACE_RMCast_Sender_Proxy *) = 0;
// Destroy a proxy
};
#if defined (__ACE_INLINE__)
#include "RMCast_Sender_Proxy_Factory.i"
#endif /* __ACE_INLINE__ */
#include "ace/post.h"
#endif /* ACE_RMCAST_SENDER_PROXY_FACTORY_H */
|