summaryrefslogtreecommitdiff
path: root/TAO/tests/TransportCurrent/lib/Client_ORBInitializer.h
blob: 7c5eb831aabf88dac7fe63b07e357256c1010276 (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
// -*- C++ -*-

//=============================================================================
/**
 * @file Client_ORBInitializer.h
 *
 * $Id$
 *
 * @author Iliyan jeliazkov <iliyan@ociweb.com>
 */
//=============================================================================

#ifndef CLIENT_ORBINITIALIZER_T_H
#define CLIENT_ORBINITIALIZER_T_H
#include /**/ "ace/pre.h"
#include /**/ "ace/config.h"

#include /**/ "Current_Test_Export.h"

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

#include "tao/PI/PI.h"
#include "tao/LocalObject.h"
#include "tao/PortableInterceptorC.h"

namespace Test
{

  class Current_Test_Export Client_ORBInitializer :
    public virtual PortableInterceptor::ORBInitializer,
    public virtual TAO_Local_RefCounted_Object
  {
  public:
    Client_ORBInitializer (PortableInterceptor::ClientRequestInterceptor_ptr interceptor);
    virtual ~Client_ORBInitializer (void);

    virtual void pre_init(PortableInterceptor::ORBInitInfo*);

    virtual void post_init(PortableInterceptor::ORBInitInfo*);

  private:
    PortableInterceptor::ClientRequestInterceptor_var interceptor_;
  };

}

#include /**/ "ace/post.h"

#endif  /* CLIENT_ORBINITIALIZER_T_H */