RTI Routing Service
Version 6.0.1
|
DiscoveryConnection interface (optional). More...
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. | |
Public Member Functions inherited from Entity | |
void | update (Properties properties) throws AdapterException |
Updates the configuration of an adapter entity. | |
DiscoveryConnection interface (optional).
The DiscoveryConnection interface provides optional discovery methods for a connection.
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.
typeRepresentation | <<in>> Type representation to be copied. |
AdapterException | - if an error occurs. |
void deleteTypeRepresentation | ( | Object | typeRepresentation | ) | throws AdapterException |
Deletes a type representation.
This method is part of the adapter discovery API.
typeRepresentation | <<in>> Type representation to be deleted. |
AdapterException | - if an error occurs. |