Overview | Describes what services of a particular type are available. |
Original class | CORBA::ORB |
Exceptions | CORBA::SystemException |
Intended Usage
This method is intended to be used by client and server applications to determine what services of a particular type (such as Security services) are available. The result of CORBA::ORB::get_service_information does not vary during the lifetime of a single process.
Syntax
CORBA::Boolean get_service_information (CORBA::ServiceType service_type, CORBA::ServiceInformation& service_information);
Input parameters
Return values
Example
#include "corba.h" int main(int argc, char* argv[]) { int rc = 0; /* assume cop initialized */ extern CORBA::ORB_ptr cop; CORBA::ServiceInformation si ; /* request service information for CORBA::Security */ CORBA::Boolean retval = cop->get_service_information(CORBA::Security, si); return rc; }