summaryrefslogtreecommitdiff
path: root/TAO/tests/DII_AMI_Forward/test_i.h
blob: d0968c6be9db022eb74c003a3769f3410dc764a5 (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
// -*- C++ -*-

//
// $Id$
//

#ifndef TEST_I_H
#define TEST_I_H

#include "testS.h"

class Forward_Test_i : public POA_Forward::Test
{
  // = TITLE
  //   Location Forward exception tester
  //
  // = DESCRIPTION
  //   servant throws a location forward exception when constructed with a
  //   target IOR, otherwise it echos the source string.

public:
  Forward_Test_i (CORBA::ORB_ptr orb);

  char * do_forward (const char *text);
  void shutdown ();

private:
  CORBA::ORB_var orb_;
};

#endif /* TEST_I_H */