ImagingTools Core SDK
IConnectionController.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IPolymorphic.h>
7
8
9namespace imtcom
10{
11
12
66class IConnectionController: virtual public istd::IPolymorphic
67{
68public:
90 virtual bool Connect() = 0;
91
110 virtual bool Disconnect() = 0;
111};
112
113
114} // namespace imtcom
115
116
Simple interface for connection lifecycle control.
virtual bool Disconnect()=0
Close the connection.
virtual bool Connect()=0
Establish a connection.
Server Communication and Connection Management Module.