summaryrefslogtreecommitdiff
path: root/TAO/tao/Remote_Object_Proxy_Broker.h
blob: 3141570c53830a1a213951b782d613983c020e3c (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

//=============================================================================
/**
 *  @file    Remote_Object_Proxy_Broker.h
 *
 *  $Id$
 *
 *  This files contains the Remote Proxy Broker implementation
 *  for the CORBA Object.
 *
 *
 *  @author  Angelo Corsaro <corsaro@cs.wustl.edu>
 */
//=============================================================================


#ifndef TAO_REMOTE_OBJECT_PROXY_BROKER_H_
#define TAO_REMOTE_OBJECT_PROXY_BROKER_H_

// -- ACE Include --
#include "ace/pre.h"

// -- TAO Include --
#include "tao/corbafwd.h"
#include "tao/Object_Proxy_Broker.h"
#include "tao/Remote_Object_Proxy_Impl.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class TAO_Export TAO_Remote_Object_Proxy_Broker : public TAO_Object_Proxy_Broker
{
public:
  // -- Ctor/Dtor --
  TAO_Remote_Object_Proxy_Broker (void);
  ~TAO_Remote_Object_Proxy_Broker (void);

  virtual TAO_Object_Proxy_Impl &select_proxy (CORBA::Object_ptr object,
                                               CORBA::Environment &ACE_TRY_ENV);

private:
  TAO_Remote_Object_Proxy_Impl remote_proxy_impl_;
};

TAO_Remote_Object_Proxy_Broker *the_tao_remote_object_proxy_broker (void);

#include "ace/post.h"

#endif /* TAO_REMOTE_Object_PROXY_BROKER_H_ */