1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

Add ssh store implementation

This commit is contained in:
Shea Levy 2016-09-02 14:31:38 -04:00
parent b4b5e9ce2f
commit ecba88de93
3 changed files with 136 additions and 4 deletions

View file

@ -90,20 +90,20 @@ protected:
FdSource from;
unsigned int daemonVersion;
~Connection();
virtual ~Connection();
void processStderr(Sink * sink = 0, Source * source = 0);
};
virtual ref<Connection> openConnection() = 0;
void setOptions(Connection & conn);
void initConnection(Connection & conn);
ref<Pool<Connection>> connections;
private:
ref<Pool<Connection>> connections;
void setOptions(Connection & conn);
};
class UDSRemoteStore : public LocalFSStore, public RemoteStore