|
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 () |
|
◆ ~BasicClientConnection()
nix::WorkerProto::BasicClientConnection::~BasicClientConnection |
( |
| ) |
|
|
virtual |
◆ getBuildDerivationResponse()
BuildResult nix::WorkerProto::BasicClientConnection::getBuildDerivationResponse |
( |
const StoreDirConfig & | store, |
|
|
bool * | daemonException ) |
Get the response, must be paired with putBuildDerivationRequest
.
◆ handshake()
Establishes connection, negotiating version.
- Returns
- The minimum version supported by both sides and the set of protocol features supported by both sides.
- Parameters
-
to | Taken by reference to allow for various error handling mechanisms. |
from | Taken by reference to allow for various error handling mechanisms. |
localVersion | Our version which is sent over. |
supportedFeatures | The protocol features that we support. |
◆ postHandshake()
After calling handshake, must call this to exchange some basic information abou the connection.
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/worker-protocol-connection.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/worker-protocol-connection.cc