summaryrefslogtreecommitdiff
path: root/TAO/tests/Faults/ping_i.cpp
blob: 060e9a15a5785661fb26c29fec52f1ee404ea0c7 (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
#include "ping_i.h"

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

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

void
PingObject_i::pong ()
{
}

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

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