summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/Faults/ping_i.cpp
blob: 44c4ff825aaa0b30c6b5d635293640efecd71303 (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
// $Id$

#include "ping_i.h"

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

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

void
PingObject_i::ping (PingObject_ptr callback)
{
  callback->pong ();
}

void
PingObject_i::pong (void)
{
}

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

PortableServer::POA_ptr
PingObject_i::_default_POA (void)
{
  return PortableServer::POA::_duplicate (this->poa_.in ());
}