#include <AORB.h>
Inheritance diagram for acdkx::orb::AORB:
Public Member Functions | |
AORB () | |
static::org::omg::CORBA::RORB | getORB () |
void | init (IN(RStringArray) args, IN(acdk::util::RProperties) props) |
initialize this orb. | |
int | port () |
return the port number of the local server | |
RString | serverHost () |
void | setGIOPVersion (int major, int minor) |
virtual RStringArray | list_initial_services () |
virtual::org::omg::CORBA::RObject | resolve_initial_references (IN(RString) identifier) throw ( RInvalidName ) |
virtual void | connect (IN(::org::omg::CORBA::RObject) obj) |
virtual bool | work_pending () |
single threaded not supported | |
virtual void | perform_work () |
single threaded not supported | |
virtual void | run () |
run the ORB-Server. | |
virtual void | start () |
run the ORB server in background | |
virtual void | shutdown (bool wait_for_completion) |
stop reading Messages | |
virtual void | destroy () |
If the ORB was shutdown, it restarts here. | |
virtual RString | impl_is_ready (IN(::acdk::lang::RObject) obj) |
nonstandard register object for testing | |
bool | _doShutdown () |
acdk::lang::Object | resolve_object (AServerRequestImpl &req) |
acdk::lang::Object | object_key_to_object (sequence< octet > &object_key) |
virtual RString | object_to_string (IN(::org::omg::CORBA::RObject) obj) |
java standard | |
virtual::org::omg::CORBA::RObject | string_to_object (IN(RString) str) |
java standard | |
::org::omg::CORBA::RObject | corbaloc_to_object (IN(RString) str) |
bool | isOwnObjectId (IN(RObjectKey) key) |
Static Public Member Functions | |
AORB & | getAORB () |
void | reset () |
reset ORB deletes ORB and set it up | |
const acdk::lang::dmi::ClazzMethodInfo * | lookupMethod (IN(RString) method, const dmi::ClazzInfo *clazz) |
RString | getLocalHost () |
returns the local host | |
int | getLocalPort () |
returns the local Server Port | |
int | _lookupFreePort () |
RServerDelegate | createProxy (IN(RObjectKey) key) |
Public Attributes | |
bool | ignoreLocal |
always use network | |
bool | ignoreDmiOverGIOP |
don't use DMI over GIOP | |
Private Member Functions | |
void | _initServer () |
initialize the ORB Server | |
Private Attributes | |
RString | _serverHost |
int | _port |
RHashMap | _objects |
key: ::acdk::lang::RObject value: RObjectKey | |
RHashMap | _objectsIds |
key: RcharArray object_id; value: RObjectKey | |
bool | _shutdown |
RThreadGroup | _treadGroup |
bool | _isServer |
acdk::lang::Object | _theObject |
### test only | |
::org::omg::CORBA::GIOP::Version | _giopVersion |
::acdk::net::RServerSocket | _serverSocket |
::acdk::util::RProperties | _properties |
Static Private Attributes | |
RAORB | _theORB |
|
|
|
|
|
initialize the ORB Server
|
|
|
|
Implements org::omg::CORBA::ORB. |
|
|
|
|
|
If the ORB was shutdown, it restarts here.
Reimplemented from acdk::lang::Thread. |
|
|
|
returns the local host
|
|
returns the local Server Port
|
|
|
|
nonstandard register object for testing
Implements org::omg::CORBA::ORB. |
|
initialize this orb. This method also reads the file $ACDKHOME/cfgs/acdkx_orb.cfg
Reimplemented from org::omg::CORBA::ORB. |
|
|
|
Implements org::omg::CORBA::ORB. |
|
|
|
|
|
java standard
Implements org::omg::CORBA::ORB. |
|
single threaded not supported
Implements org::omg::CORBA::ORB. |
|
return the port number of the local server
|
|
reset ORB deletes ORB and set it up
|
|
Implements org::omg::CORBA::ORB. |
|
|
|
run the ORB-Server. Will not return. use ORB::start() to start server in background Reimplemented from acdk::lang::Thread. |
|
|
|
|
|
stop reading Messages
Implements org::omg::CORBA::ORB. |
|
run the ORB server in background
Reimplemented from acdk::lang::Thread. |
|
java standard
Implements org::omg::CORBA::ORB. |
|
single threaded not supported
Implements org::omg::CORBA::ORB. |
|
|
|
|
|
key: ::acdk::lang::RObject value: RObjectKey
|
|
key: RcharArray object_id; value: RObjectKey
|
|
|
|
|
|
|
|
|
|
|
|
### test only
|
|
|
|
|
|
don't use DMI over GIOP
|
|
always use network
|