forked from Kistler-Group/sdbus-cpp
Add support for opening a connection to a remote system bus using ssh (#77)
This commit is contained in:
@@ -46,10 +46,12 @@ namespace sdbus { namespace internal {
|
||||
enum class BusType
|
||||
{
|
||||
eSystem,
|
||||
eSession
|
||||
eSession,
|
||||
eRemoteSystem,
|
||||
};
|
||||
|
||||
Connection(BusType type, std::unique_ptr<ISdBus>&& interface);
|
||||
Connection(const std::string& host, std::unique_ptr<ISdBus>&& interface);
|
||||
~Connection() override;
|
||||
|
||||
void requestName(const std::string& name) override;
|
||||
@@ -122,6 +124,7 @@ namespace sdbus { namespace internal {
|
||||
|
||||
std::thread asyncLoopThread_;
|
||||
int loopExitFd_{-1};
|
||||
std::string host_;
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user