#include <remote-store-connection.hh>
Public Attributes | |
std::chrono::time_point< std::chrono::steady_clock > | startTime |
![]() | |
FdSink | to |
FdSource | from |
WorkerProto::Version | protoVersion |
std::set< Feature > | features |
![]() | |
std::optional< std::string > | daemonNixVersion |
std::optional< TrustedFlag > | remoteTrustsUs |
Additional Inherited Members | |
![]() | |
virtual | ~BasicClientConnection () |
virtual void | closeWrite ()=0 |
std::exception_ptr | processStderrReturn (Sink *sink=0, Source *source=0, bool flush=true, bool block=true) |
void | processStderr (bool *daemonException, Sink *sink=0, Source *source=0, bool flush=true, bool block=true) |
ClientHandshakeInfo | postHandshake (const StoreDirConfig &store) |
void | addTempRoot (const StoreDirConfig &remoteStore, bool *daemonException, const StorePath &path) |
StorePathSet | queryValidPaths (const StoreDirConfig &remoteStore, bool *daemonException, const StorePathSet &paths, SubstituteFlag maybeSubstitute) |
UnkeyedValidPathInfo | queryPathInfo (const StoreDirConfig &store, bool *daemonException, const StorePath &path) |
void | putBuildDerivationRequest (const StoreDirConfig &store, bool *daemonException, const StorePath &drvPath, const BasicDerivation &drv, BuildMode buildMode) |
BuildResult | getBuildDerivationResponse (const StoreDirConfig &store, bool *daemonException) |
void | narFromPath (const StoreDirConfig &store, bool *daemonException, const StorePath &path, std::function< void(Source &)> fun) |
void | importPaths (const StoreDirConfig &store, bool *daemonException, Source &source) |
![]() | |
operator WorkerProto::ReadConn () | |
operator WorkerProto::WriteConn () | |
![]() | |
bool | operator== (const ClientHandshakeInfo &) const =default |
![]() | |
static std::tuple< Version, std::set< Feature > > | handshake (BufferedSink &to, Source &from, WorkerProto::Version localVersion, const std::set< Feature > &supportedFeatures) |
Bidirectional connection (send and receive) used by the Remote Store implementation.
Contains Source
and Sink
for actual communication, along with other information learned when negotiating the connection.
std::chrono::time_point<std::chrono::steady_clock> nix::RemoteStore::Connection::startTime |
Time this connection was established.