RTI Routing Service
Version 6.0.1
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)
113
{
114
(void) session;
115
(void) stream_info;
116
(void) properties;
117
118
return
NULL;
119
}
120
135
virtual
void
delete_stream_writer
(
136
StreamWriter
*stream_writer)
137
{
138
(void) stream_writer;
139
}
140
172
virtual
StreamReader
*
create_stream_reader
(
173
Session
*session,
174
const
StreamInfo
& stream_info,
175
const
PropertySet
& properties,
176
StreamReaderListener
*listener)
177
{
178
(void) session;
179
(void) stream_info;
180
(void) properties;
181
(void) listener;
182
183
return
NULL;
184
}
185
200
virtual
void
delete_stream_reader
(
201
StreamReader
*stream_reader)
202
{
203
(void) stream_reader;
204
}
205
224
virtual
DiscoveryStreamReader
*
input_stream_discovery_reader
()
225
{
226
return
NULL;
227
}
228
247
virtual
DiscoveryStreamReader
*
output_stream_discovery_reader
()
248
{
249
return
NULL;
250
}
251
255
virtual
~Connection
()
256
{
257
}
258
259
};
260
261
}}}
262
263
#endif // RTI_ROUTING_ADAPTER_CONNECTION_HPP_
RTI Routing Service Version 6.0.1
Copyright © Sun Nov 17 2019
Real-Time Innovations, Inc