Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+36
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Routing Test - handle a session (connection to and from sv for a specific partition)
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "connection.h"
|
||||
|
||||
namespace RoutingService
|
||||
{
|
||||
class Session
|
||||
{
|
||||
public:
|
||||
explicit Session(const QString &partitionNameSv, const QString &partitionNameWs);
|
||||
~Session();
|
||||
|
||||
bool init(const dds::domain::DomainParticipant &dpIn,
|
||||
const dds::domain::DomainParticipant &dpOut,
|
||||
const std::vector<TopicDispatcherInterface *> &topicsToRouteToWs,
|
||||
const std::vector<TopicDispatcherInterface *> &topicsToRouteToSv);
|
||||
void shutdown();
|
||||
|
||||
private:
|
||||
std::string m_partitionNameSv;
|
||||
std::string m_partitionNameWs;
|
||||
std::unique_ptr<Connection> m_connectionSvToWs;
|
||||
std::unique_ptr<Connection> m_connectionWsToSv;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
} // namespace RoutingService
|
||||
Reference in new issue
Block a user