RTI Routing Service  Version 7.0.0
RoutingService Class Reference

RTI Routing Service. More...

Inherits AutoCloseable.

Public Member Functions

 RoutingService (RoutingServiceProperty property)
 Create a new RTI Routing Service instance. More...
 
void close ()
 Releases native memory resources. More...
 
void start ()
 Start RTI Routing Service. More...
 
void stop ()
 Stop RTI Routing Service. More...
 
void createEntity (String parentName, String xmlSnippet)
 Create new domain route, session, topic route or auto topic route. More...
 
void deleteEntity (String entityName)
 Delete domain route, session, topic route or auto topic route. More...
 
String getConfiguration ()
 Get current configuration. More...
 

Static Public Attributes

static final int LOG_VERBOSITY_SILENT = 0
 Verbosity level: silent. More...
 
static final int LOG_VERBOSITY_EXCEPTIONS = 3
 Verbosity level: RTI_LOG_BIT_FATAL_ERROR (0x00000001) | RTI_LOG_BIT_EXCEPTION (0x00000002) More...
 
static final int LOG_VERBOSITY_WARNINGS = 7
 Verbosity level: RTI_LOG_BIT_FATAL_ERROR (0x00000001) | RTI_LOG_BIT_EXCEPTION (0x00000002) | RTI_LOG_BIT_WARN (0x00000004) More...
 
static final int LOG_VERBOSITY_INFO = 31
 Verbosity level: RTI_LOG_BIT_FATAL_ERROR (0x00000001) | RTI_LOG_BIT_EXCEPTION (0x00000002) | RTI_LOG_BIT_WARN (0x00000004) | RTI_LOG_BIT_LOCAL (0x00000008) | RTI_LOG_BIT_REMOTE (0x00000010) More...
 

Detailed Description

RTI Routing Service.

Constructor & Destructor Documentation

◆ RoutingService()

Create a new RTI Routing Service instance.

Parameters
propertyThe properties to configure RTI Routing Service.

Member Function Documentation

◆ close()

void close ( )

Releases native memory resources.

This frees native memory resources associated with the service

◆ start()

void start ( )

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()

void stop ( )

Stop RTI Routing Service.

This functions won't return the execution control until the instance is fully stopped.

◆ createEntity()

void createEntity ( String  parentName,
String  xmlSnippet 
)

Create new domain route, session, topic route or auto topic route.

Parameters
parentNameName of parent entity under which to create new entity
xmlSnippetXML configuration string for new entity. Read from file if string starts with file://

◆ deleteEntity()

void deleteEntity ( String  entityName)

Delete domain route, session, topic route or auto topic route.

Parameters
entityNameFully-qualified name of entity to delete

◆ getConfiguration()

String getConfiguration ( )

Get current configuration.

Returns
A string containing the service's configuration in XML

Member Data Documentation

◆ LOG_VERBOSITY_SILENT

final int LOG_VERBOSITY_SILENT = 0
static

Verbosity level: silent.

◆ LOG_VERBOSITY_EXCEPTIONS

final int LOG_VERBOSITY_EXCEPTIONS = 3
static

Verbosity level: RTI_LOG_BIT_FATAL_ERROR (0x00000001) | RTI_LOG_BIT_EXCEPTION (0x00000002)

◆ LOG_VERBOSITY_WARNINGS

final int LOG_VERBOSITY_WARNINGS = 7
static

Verbosity level: RTI_LOG_BIT_FATAL_ERROR (0x00000001) | RTI_LOG_BIT_EXCEPTION (0x00000002) | RTI_LOG_BIT_WARN (0x00000004)

◆ LOG_VERBOSITY_INFO

final int LOG_VERBOSITY_INFO = 31
static

Verbosity level: RTI_LOG_BIT_FATAL_ERROR (0x00000001) | RTI_LOG_BIT_EXCEPTION (0x00000002) | RTI_LOG_BIT_WARN (0x00000004) | RTI_LOG_BIT_LOCAL (0x00000008) | RTI_LOG_BIT_REMOTE (0x00000010)