RTI Connext Java API  Version 5.0.0
TransportMulticastMappingFunction_t Class Reference

Type representing an external mapping function. More...

Inherits Struct.

Public Member Functions

 TransportMulticastMappingFunction_t ()
 Constructor.
 
 TransportMulticastMappingFunction_t (TransportMulticastMappingFunction_t src)
 Copy constructor.
 
- Public Member Functions inherited from Struct
abstract boolean equals (Object obj)
 
abstract int hashCode ()
 
String toString ()
 

Public Attributes

String dll
 Specifies a dynamic library that contains a mapping function.
 
String function_name
 Specifies the name of a mapping function.
 

Additional Inherited Members

- Protected Member Functions inherited from Struct
 Struct ()
 
abstract void pull_from_nativeI (long native_status)
 
abstract void push_to_nativeI (long native_status)
 

Detailed Description

Type representing an external mapping function.

A mapping function is defined by a dynamic library name and a function name.

QoS:
com.rti.dds.infrastructure.TransportMulticastMappingQosPolicy

Constructor & Destructor Documentation

Member Data Documentation

String dll

Specifies a dynamic library that contains a mapping function.

A relative or absolute path can be specified.

If the name is specified as "foo", the library name on Linux systems will be libfoo.so; on Windows systems it will be foo.dll.

[default] NULL

String function_name

Specifies the name of a mapping function.

This function must be implemented in the library specified in com.rti.dds.infrastructure.TransportMulticastMappingFunction_t.dll.

The function must implement the following interface:

int function(const char* topic_name, int numberOfAddresses);

The function must return an integer that indicates the index of the address to use for the given topic_name. For example, if the first address in the list should be used, it must return 0; if the second address in the list should be used, it must return 1, etc.


RTI Connext Java API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc