RTI Routing Service.
More...
Inherits AutoCloseable.
Public Member Functions |
| RoutingService (RoutingServiceProperty property) |
| Create a new RTI Routing Service instance.
|
|
void | close () |
| Releases native memory resources.
|
|
void | start () |
| Start RTI Routing Service.
|
|
void | stop () |
| Stop RTI Routing Service.
|
|
void | createEntity (String parentName, String xmlSnippet) |
| Create new domain route, session, topic route or auto topic route.
|
|
void | deleteEntity (String entityName) |
| Delete domain route, session, topic route or auto topic route.
|
|
String | getConfiguration () |
| Get current configuration.
|
|
Detailed Description
Constructor & Destructor Documentation
Create a new RTI Routing Service instance.
- Parameters
-
property | The properties to configure RTI Routing Service. |
Member Function Documentation
Releases native memory resources.
This frees native memory resources associated with the service
Start RTI Routing Service.
This is a non-blocking operation. RTI Routing Service will create its own set of threads to perform its tasks.
Stop RTI Routing Service.
This functions won't return the execution control until the instance is fully stopped.
void createEntity |
( |
String |
parentName, |
|
|
String |
xmlSnippet |
|
) |
| |
Create new domain route, session, topic route or auto topic route.
- Parameters
-
parentName | Name of parent entity under which to create new entity |
xmlSnippet | XML configuration string for new entity. Read from file if string starts with file:// |
void deleteEntity |
( |
String |
entityName | ) |
|
Delete domain route, session, topic route or auto topic route.
- Parameters
-
entityName | Fully-qualified name of entity to delete |
String getConfiguration |
( |
| ) |
|
Get current configuration.
- Returns
- A string containing the service's configuration in XML
Member Data Documentation
final int LOG_VERBOSITY_SILENT = 0 |
|
static |
final int LOG_VERBOSITY_EXCEPTIONS = 1 |
|
static |
Verbosity level: exceptions.
final int LOG_VERBOSITY_WARNINGS = 3 |
|
static |
Verbosity level: exceptions + warnings.
final int LOG_VERBOSITY_INFO = 15 |
|
static |
Verbosity level: exceptions + warnings + info.