hpp-template-corba
4.9.0
Template corba server
|
Template CORBA server. More...
#include <hpp/corba/template/server.hh>
Public Member Functions | |
Server (int argc, const char *argv[], const char *orb_identifier="", const char *options[][2]=0) | |
Constructor. More... | |
~Server () | |
Shutdown CORBA server. More... | |
T & | implementation () |
Return a reference to the implementation. More... | |
CORBA server initialization | |
bool | initRootPOA (bool inMultiThread) |
bool | initOmniINSPOA (const char *object_id) |
Public Member Functions inherited from hpp::corba::ServerBase | |
ServerBase (int argc, const char *argv[], const char *orb_identifier="", const char *options[][2]=0) | |
Constructor. More... | |
virtual | ~ServerBase () |
Shutdown CORBA server. More... | |
int | startCorbaServer (const std::string &contextId, const std::string &contextKind, const std::string &objectId, const std::string &objectKind) |
Initialize CORBA server to process requests from clients and declare it to the NameService (DNS for CORBA) More... | |
int | startCorbaServer (const std::string &contextId, const std::string &contextKind) |
Initialize CORBA server to process requests from clients and declare it to the NameService (DNS for CORBA) More... | |
int | startCorbaServer () |
Initialize CORBA server to process requests from clients. More... | |
int | processRequest (bool loop) |
If ORB work is pending, process it. More... | |
PortableServer::POA_var | main_poa () |
PortableServer::POA_var | poa () |
The Portable Object Adapter used to active the server. More... | |
CORBA::ORB_var | orb () |
bool | initORB (int argc, const char *argv[], const char *orb_identifier, const char *options[][2]) |
bool | initRootPOA (bool inMultiThread) |
bool | initOmniINSPOA () |
Additional Inherited Members | |
Protected Member Functions inherited from hpp::corba::ServerBase | |
void | setServant (CORBA::Object_ptr obj) |
Protected Attributes inherited from hpp::corba::ServerBase | |
CORBA::ORB_var | orb_ |
PortableServer::POA_var | poa_ |
PortableServer::POA_var | main_poa_ |
PortableServer::POA_var | ins_poa_ |
CosNaming::NamingContext_var | hppContext_ |
Corba context. More... | |
Template CORBA server.
For information on how to use see the How to section of the main documentation page
hpp::corba::Server< T >::Server | ( | int | argc, |
const char * | argv[], | ||
const char * | orb_identifier = "" , |
||
const char * | options[][2] = 0 |
||
) |
Constructor.
argc,argv | parameter to feed ORB initialization. |
hpp::corba::Server< T >::~Server | ( | ) |
Shutdown CORBA server.
T & hpp::corba::Server< T >::implementation | ( | ) |
Return a reference to the implementation.
bool hpp::corba::Server< T >::initOmniINSPOA | ( | const char * | object_id | ) |
Initialize a root POA This cannot be multithreaded. It is suitable to serve an object at a fixed address. The address can be set using the ORB endPoint option.
object_id | the object name, use in the address (corbaloc:iiop:host:port/object_id) |
bool hpp::corba::Server< T >::initRootPOA | ( | bool | inMultiThread | ) |
Initialize a root POA This is suitable for multithreading and for using a name service.
inMultiThread | whether the server may process request using multithread policy. |