Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::RemoteStore::Connection Struct Reference

#include <remote-store-connection.hh>

Inheritance diagram for nix::RemoteStore::Connection:
nix::WorkerProto::BasicClientConnection nix::WorkerProto::ClientHandshakeInfo nix::WorkerProto::BasicConnection nix::SSHStore::Connection

Public Attributes

std::chrono::time_point< std::chrono::steady_clock > startTime
 
- Public Attributes inherited from nix::WorkerProto::BasicConnection
FdSink to
 
FdSource from
 
WorkerProto::Version protoVersion
 
std::set< Feature > features
 
- Public Attributes inherited from nix::WorkerProto::ClientHandshakeInfo
std::optional< std::string > daemonNixVersion
 
std::optional< TrustedFlag > remoteTrustsUs
 

Additional Inherited Members

- Public Member Functions inherited from nix::WorkerProto::BasicClientConnection
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)
 
- Public Member Functions inherited from nix::WorkerProto::BasicConnection
 operator WorkerProto::ReadConn ()
 
 operator WorkerProto::WriteConn ()
 
- Public Member Functions inherited from nix::WorkerProto::ClientHandshakeInfo
bool operator== (const ClientHandshakeInfo &) const =default
 
- Static Public Member Functions inherited from nix::WorkerProto::BasicClientConnection
static std::tuple< Version, std::set< Feature > > handshake (BufferedSink &to, Source &from, WorkerProto::Version localVersion, const std::set< Feature > &supportedFeatures)
 

Detailed Description

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.

Member Data Documentation

◆ startTime

std::chrono::time_point<std::chrono::steady_clock> nix::RemoteStore::Connection::startTime

Time this connection was established.


The documentation for this struct was generated from the following file: