summaryrefslogtreecommitdiff
path: root/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.h
blob: adbd782c3d3007ae5ebdb11740a6e486cf6d5a37 (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
56
57
// ============================================================================
//
// = LIBRARY
//    CORBA Marshal Tao Benchmark
// 
// = FILENAME
//    tao_marshal_server.h
//
// = AUTHOR
//    Aniruddha Gokhale
// 
// ============================================================================

#if !defined(_TAO_MARSHAL_SERVER_H_)
#define _TAO_MARSHAL_SERVER_H_

// benchmark library includes
#include "benchmark/marshal_options.h"
#include "benchmark/marshal_results.h"
#include "benchmark/marshal_proxy.h"

// implementation classes
#include "tao_marshal_impl.h"

// include Tao specific include files
#include "marshalS.h"  // generated by IDL compiler

class Tao_Marshal_Server_Proxy : public CORBA_Marshal_Proxy
{
public:
  Tao_Marshal_Server_Proxy (void);
  // constructor

  ~Tao_Marshal_Server_Proxy (void);
  // destructor

  virtual int run (CORBA_Marshal_Proxy::OPTIONS &options,
		   CORBA_Marshal_Proxy::RESULTS &results);
  // do the actual work
private:
  CORBA_ORB_ptr orb_;
  // underlying orb;

  CORBA_BOA_ptr boa_;
  // underlying boa;

  Marshal_SSI_Impl *ssi_;
  Marshal_DSI_Impl *dsi_;
  // the implementation (SSI or DSI)
};


#if defined (__ACE_INLINE__)
#include "tao_marshal_server.i"
#endif /* __ACE_INLINE__ */

#endif