Object Request Broker (ORB).
More...
#include <base/rmi/Orb.h>
Inherits Object.
Object Request Broker (ORB).
Object Request Broker (ORB).
- Version
- 1.0
◆ EncodingSchemeFlags
Flags for use with encoding scheme registration.
Enumerator |
---|
INCOMING | Encoding scheme should be available for incoming trafic.
|
OUTGOING | Encoding scheme should be available for outgoing trafic.
|
◆ Orb()
◆ ~Orb()
◆ getEncodings()
Returns the current registered encoding schemes.
◆ getFactories()
Returns the identifiers of the registered factories.
◆ getIdentifier()
String Orb::getIdentifier |
( |
void * |
skeleton | ) |
|
Returns the identifier of the specified skeleton.
◆ getNumberOfConnections()
unsigned int Orb::getNumberOfConnections |
( |
| ) |
const |
|
noexcept |
Returns the current number of connections.
◆ getNumberOfEncodings()
unsigned int Orb::getNumberOfEncodings |
( |
| ) |
const |
|
inlinenoexcept |
Returns the current number of registered encoding schemes.
◆ getNumberOfFactories()
unsigned int Orb::getNumberOfFactories |
( |
| ) |
const |
|
inlinenoexcept |
Returns the current number of registered factories.
◆ getNumberOfSchemes()
unsigned int Orb::getNumberOfSchemes |
( |
| ) |
const |
|
inlinenoexcept |
Returns the current number of registered schems.
◆ getNumberOfSkeletons()
unsigned int Orb::getNumberOfSkeletons |
( |
| ) |
const |
|
noexcept |
Returns the current number of skeletons.
◆ getNumberOfStubs()
unsigned int Orb::getNumberOfStubs |
( |
| ) |
const |
|
noexcept |
Returns the current number of stubs.
◆ getSchemes()
Returns the current registered schemes.
◆ onConnection()
Invoked on incoming connection (new context).
◆ onIncomingConnection()
Invoked on incoming connection.
- Parameters
-
factory | The connection factory. |
connection | The ORB connection. |
◆ openFactory()
void Orb::openFactory |
( |
const String & |
identifier | ) |
|
Opens a factory for the specified end point (e.g. tcpip://localhost:1234).
- Parameters
-
identifier | The identifier of the end point. |
◆ push()
Invoked by connection on incoming data.
◆ registerEncoding()
Registers the specified ORB encoding. Flags may be use to register the encoding for assymetric trafic.
- Parameters
-
encoding | The encoding scheme. |
flags | The flags. The default is INCOMING|0UTGOING. |
◆ registerFactory()
Registers a connection factory.
- Parameters
-
factory | The connection factory. |
◆ registerScheme()
Registers the specified scheme.
◆ registerSkeleton()
Registers the specified skeleton.
◆ run()
Enters the ORB message dispatch loop.
◆ terminate()
Terminates the message dispatch loop.
◆ unregisterSkeleton()
Unregisters the specified skeleton.
◆ DEFAULT_CONCURRENCY
const unsigned int Orb::DEFAULT_CONCURRENCY = 16 |
|
static |
The default thread concurrency level.