RTI Routing Service
Version 6.0.0
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Typedefs
Enumerations
Enumerator
Groups
Pages
Connection.hpp
1
/*
2
* (c) Copyright, Real-Time Innovations, 2017.
3
* All rights reserved.
4
*
5
* No duplications, whole or partial, manual or electronic, may be made
6
* without express written permission. Any such copies, or
7
* revisions thereof, must display this notice unaltered.
8
* This code contains trade secrets of Real-Time Innovations, Inc.
9
*/
10
11
#ifndef RTI_ROUTING_ADAPTER_CONNECTION_HPP_
12
#define RTI_ROUTING_ADAPTER_CONNECTION_HPP_
13
14
#include <rti/routing/PropertySet.hpp>
15
#include <rti/routing/UpdatableEntity.hpp>
16
#include <rti/routing/adapter/Session.hpp>
17
#include <rti/routing/adapter/StreamWriter.hpp>
18
#include <rti/routing/adapter/StreamReader.hpp>
19
#include <rti/routing/StreamInfo.hpp>
20
#include <rti/routing/adapter/DiscoveryStreamReader.hpp>
21
#include <rti/routing/adapter/StreamReaderListener.hpp>
22
23
namespace
rti {
namespace
routing {
namespace
adapter {
24
35
class
Connection
:
public
UpdatableEntity
{
36
37
public
:
57
virtual
Session
*
create_session
(
58
const
PropertySet
& properties)
59
{
60
(void) properties;
61
62
return
NULL;
63
}
64
77
virtual
void
delete_session
(
Session
*session)
78
{
79
(void) session;
80
}
81
109
virtual
StreamWriter
*
create_stream_writer
(
110
Session
*session,
111
const
StreamInfo
& stream_info,
112
const
PropertySet
& properties) = 0;
113
128
virtual
void
delete_stream_writer
(
129
StreamWriter
*stream_writer) = 0;
130
162
virtual
StreamReader
*
create_stream_reader
(
163
Session
*session,
164
const
StreamInfo
& stream_info,
165
const
PropertySet
& properties,
166
StreamReaderListener
*listener) = 0;
167
182
virtual
void
delete_stream_reader
(
183
StreamReader
*stream_reader) = 0;
184
203
virtual
DiscoveryStreamReader
*
input_stream_discovery_reader
()
204
{
205
return
NULL;
206
}
207
226
virtual
DiscoveryStreamReader
*
output_stream_discovery_reader
()
227
{
228
return
NULL;
229
}
230
234
virtual
~Connection
()
235
{
236
}
237
238
};
239
240
}}}
241
242
#endif // RTI_ROUTING_ADAPTER_CONNECTION_HPP_
RTI Routing Service Version 6.0.0
Copyright © Sun Mar 3 2019
Real-Time Innovations, Inc