RTI Routing Service  Version 5.3.0
 All Classes Files Functions Variables Groups
DiscoveryConnection Interface Reference

DiscoveryConnection interface (optional). More...

Inheritance diagram for DiscoveryConnection:
Connection Entity

Public Member Functions

StreamReader getInputStreamDiscoveryReader () throws AdapterException
 Gets the input stream discovery StreamReader.
 
StreamReader getOutputStreamDiscoveryReader () throws AdapterException
 Gets the output stream discovery StreamReader.
 
Object copyTypeRepresentation (Object typeRepresentation) throws AdapterException
 Copies a type representation.
 
void deleteTypeRepresentation (Object typeRepresentation) throws AdapterException
 Deletes a type representation.
 
- Public Member Functions inherited from Connection
Session createSession (Properties properties) throws AdapterException
 Creates a Session.
 
void deleteSession (Session session) throws AdapterException
 Deletes a Session.
 
StreamReader createStreamReader (Session session, StreamInfo streamInfo, Properties properties, StreamReaderListener listener) throws AdapterException
 Creates a StreamReader.
 
void deleteStreamReader (StreamReader streamReader) throws AdapterException
 Deletes a StreamReader.
 
StreamWriter createStreamWriter (Session session, StreamInfo streamInfo, Properties properties) throws AdapterException
 Creates a StreamWriter.
 
void deleteStreamWriter (StreamWriter streamWriter) throws AdapterException
 Deletes a StreamWriter.
 
Properties getAttributes () throws AdapterException
 [Not supported] Returns the Connection attributes.
 
- Public Member Functions inherited from Entity
void update (Properties properties) throws AdapterException
 Updates the configuration of an adapter entity.
 

Detailed Description

DiscoveryConnection interface (optional).

The DiscoveryConnection interface provides optional discovery methods for a connection.

Member Function Documentation

StreamReader getInputStreamDiscoveryReader ( ) throws AdapterException

Gets the input stream discovery StreamReader.

Returns a StreamReader that is used by RTI Routing Service to discover input streams. An input stream is a stream from which a StreamReader can read data. Disposed scenarios, where an input stream disappears, are also notified using this discovery StreamReader.

The StreamReaderListener associated with this StreamReader is provided as a parameter to the method Adapter.createConnection

StreamReader getOutputStreamDiscoveryReader ( ) throws AdapterException

Gets the output stream discovery StreamReader.

This method returns a StreamReader that is used by RTI Routing Service to discover output streams. An output stream is a stream to which StreamWriters can write data. Disposed scenarios, where an output stream disappears, are also notified using this discovery StreamReader.

The StreamReaderListener associated with this StreamReader is provided as a parameter to the method Adapter.createConnection.

Object copyTypeRepresentation ( Object  typeRepresentation) throws AdapterException

Copies a type representation.

This method is part of the adapter discovery API and is used by RTI Routing Service to copy the type representation associated with the discovered streams.

Parameters
typeRepresentation<<in>> Type representation to be copied.
Exceptions
AdapterException- if an error occurs.
See Also
com.rti.routingservice.adapter.Connection.deleteTypeRepresentation
void deleteTypeRepresentation ( Object  typeRepresentation) throws AdapterException

Deletes a type representation.

This method is part of the adapter discovery API.

Parameters
typeRepresentation<<in>> Type representation to be deleted.
Exceptions
AdapterException- if an error occurs.
See Also
com.rti.routingservice.adapter.Connection.copyTypeRepresentation

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