summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Native_Exceptions/test_i.cpp
blob: 62e6003f6ead195e2a00d72e3c9bd5f30c19c7f0 (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
// $Id$

#include "test_i.h"

#if !defined(__ACE_INLINE__)
#include "test_i.inl"
#endif /* __ACE_INLINE__ */

ACE_RCSID(Native_Exceptions, test_i, "$Id$")

CORBA::Long
Simple_Server_i::test_method (CORBA::Long x)
{
  return x;
}

CORBA::Long
Simple_Server_i::test_raise (CORBA::Long)
{
  throw Simple_Server::Failure ();
}

void
Simple_Server_i::shutdown (void)
{
  this->orb_->shutdown ();
}