Class for pinging a server. Implementation Repository uses this to communicate with the IMR registered servers. More...
#include <ServerObject_i.h>
Public Member Functions | |
ServerObject_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa) | |
Constructor. | |
void | ping (void) |
Ping method. | |
void | shutdown (void) |
Shutdown the server. | |
PortableServer::POA_ptr | _default_POA (void) |
Returns the default POA for this servant. | |
Protected Attributes | |
CORBA::ORB_var | orb_ |
PortableServer::POA_var | poa_ |
POA that we are registered with. |
Class for pinging a server. Implementation Repository uses this to communicate with the IMR registered servers.
Definition at line 39 of file ServerObject_i.h.
ServerObject_i::ServerObject_i | ( | CORBA::ORB_ptr | orb, | |
PortableServer::POA_ptr | poa | |||
) |
Constructor.
Definition at line 9 of file ServerObject_i.cpp.
: orb_ (CORBA::ORB::_duplicate (orb)), poa_ (PortableServer::POA::_duplicate (poa)) { }
PortableServer::POA_ptr ServerObject_i::_default_POA | ( | void | ) |
Returns the default POA for this servant.
Definition at line 31 of file ServerObject_i.cpp.
void ServerObject_i::ping | ( | void | ) |
void ServerObject_i::shutdown | ( | void | ) |
Shutdown the server.
Definition at line 22 of file ServerObject_i.cpp.
CORBA::ORB_var ServerObject_i::orb_ [protected] |
Our ORB. We need this member in case we need to shutdown the server.
Definition at line 58 of file ServerObject_i.h.
PortableServer::POA_var ServerObject_i::poa_ [protected] |
POA that we are registered with.
Definition at line 61 of file ServerObject_i.h.