summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/ORT/sum_server_i.h
blob: ea38c4ae7ab40fc1dbc38256b5206dea9d4996a6 (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
// $Id$

//=============================================================================
/**
 * @file sum_server_i.h
 *
 * $Id$
 *
 * Implementation header for the "server" IDL interface for the
 * ORT example.
 *
 * @author Priyanka Gontla <gontla_p@ociweb.com>
 */
//=============================================================================

#ifndef SUM_SERVER_I_H
#define SUM_SERVER_I_H

#include "sum_serverS.h"

// Must include this header file and link to TAO_IFR_Client.lib
// to dynamically load this necessary library.
#include "tao/IFR_Client/IFR_Client_Adapter_Impl.h"

class sum_server_i : public virtual POA_ORT::sum_server
{
 public:

  /// Constructor
  sum_server_i ();

  /// add variables method
  CORBA::Long add_variables (CORBA::Long a,
                             CORBA::Long b
                             ACE_ENV_ARG_DECL)
    ACE_THROW_SPEC ((CORBA::SystemException));

};

#endif /* SUM_SERVER_I_H */