![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| void | postHandshake (const StoreDirConfig &store, const ClientHandshakeInfo &info) |
| Public Member Functions inherited from nix::WorkerProto::BasicConnection | |
| operator WorkerProto::ReadConn () | |
| operator WorkerProto::WriteConn () | |
Static Public Member Functions | |
| static Version | handshake (BufferedSink &to, Source &from, const Version &localVersion) |
Additional Inherited Members | |
| Public Attributes inherited from nix::WorkerProto::BasicConnection | |
| FdSink | to |
| FdSource | from |
| WorkerProto::Version | protoVersion |
|
static |
Establishes connection, negotiating version.
| 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 (number + supported features) which is sent over. |
| void nix::WorkerProto::BasicServerConnection::postHandshake | ( | const StoreDirConfig & | store, |
| const ClientHandshakeInfo & | info ) |
After calling handshake, must call this to exchange some basic information about the connection.