summaryrefslogtreecommitdiff
path: root/TAO/tests/Cubit/TAO/DII_Cubit/cubitS.h
blob: 9cde582496b0f7d606c4a7fb8bf3a7b7eeb63052 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// @(#)cubitS.h 05/14/97
// Copyright 1994-1995 by Sun Microsystems Inc.
// All Rights Reserved
//
// Modified version of Cubit Example written by Sun Microsystems Inc.
// Modified by: Brian Mendel

/**************************************************************************
This file has been hand-crafted to work with the ORB API of the SUN's IIOP
implementation
***************************************************************************/

#ifndef	_SKEL_CUBIT_HH
#define	_SKEL_CUBIT_HH

#include "cubitC.h"
#include "tao/corba.h"

class _skel_Cubit;
typedef _skel_Cubit *_skel_Cubit_ptr;
typedef _skel_Cubit_ptr _skel_Cubit_ref;

class _skel_Cubit : public Cubit
{
public:
  virtual
  CORBA::Octet Cubit_cube_octet (CORBA::Octet       o,
				CORBA::Environment &env) = 0;
  static
  void _cube_octet_skel(CORBA::ServerRequest &req,
                        void *obj,
                        void *context,
                        CORBA::Environment   &env);

  virtual
  CORBA::Short Cubit_cube_short (CORBA::Short       s,
				CORBA::Environment &env) = 0;

  static
  void _cube_short_skel (CORBA::ServerRequest &req,
                         void *obj,
                         void *context,
                         CORBA::Environment   &env);

  virtual
  CORBA::Long Cubit_cube_long (CORBA::Long        l,
			      CORBA::Environment &env) = 0;

  static
  void _cube_long_skel (CORBA::ServerRequest &req,
                        void *obj,
                        void *context,
                        CORBA::Environment   &env);

  virtual
  Cubit_Many* Cubit_cube_struct (Cubit_Many        &values,
				 CORBA::Environment &env) = 0;

  static
  void _cube_struct_skel (CORBA::ServerRequest &req,
                          void *obj,
                          void *context,
                          CORBA::Environment   &env);

  virtual
  Cubit_oneof* Cubit_cube_union (Cubit_oneof       &values,
				 CORBA::Environment &env) = 0;

  static
  void _cube_union_skel (CORBA::ServerRequest &req,
                         void *obj,
                         void *context,
                         CORBA::Environment   &env);

  virtual
  void Cubit_please_exit (CORBA::Environment &env) = 0;

  static
  void _please_exit_skel (CORBA::ServerRequest  &req,
                          void *obj,
                          void *context,
                          CORBA::Environment    &env);
  virtual void dispatch (CORBA::ServerRequest &req,
                         void *context,
                         CORBA::Environment &env);
protected:
  _skel_Cubit (const char* obj_name = 0);
  virtual ~_skel_Cubit (void) { }
};

#endif	// _SKEL_CUBIT_HH