RTI Routing Service  Version 5.3.0
 All Classes Files Functions Variables Groups
RoutingService Class Reference

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.
 

Static Public Attributes

static final int LOG_VERBOSITY_SILENT = 0
 Verbosity level: silent.
 
static final int LOG_VERBOSITY_EXCEPTIONS = 1
 Verbosity level: exceptions.
 
static final int LOG_VERBOSITY_WARNINGS = 3
 Verbosity level: exceptions + warnings.
 
static final int LOG_VERBOSITY_INFO = 15
 Verbosity level: exceptions + warnings + info.
 

Detailed Description

RTI Routing Service.

Constructor & Destructor Documentation

Create a new RTI Routing Service instance.

Parameters
propertyThe properties to configure RTI Routing Service.

Member Function Documentation

void close ( )

Releases native memory resources.

This frees native memory resources associated with the service

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.

void stop ( )

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
parentNameName of parent entity under which to create new entity
xmlSnippetXML 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
entityNameFully-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

Verbosity level: silent.

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.


RTI Routing Service Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc