mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
doc: Improve IPC interface comments
Fix some comments that were referring to previous versions of these methods and did not make sense.
This commit is contained in:
parent
8ca7049cea
commit
6427d6f175
1 changed files with 7 additions and 7 deletions
|
@ -59,15 +59,15 @@ public:
|
|||
//! true. If this is not a spawned child process, return false.
|
||||
virtual bool startSpawnedProcess(int argc, char* argv[], int& exit_status) = 0;
|
||||
|
||||
//! Connect to a socket address and make a client interface proxy object
|
||||
//! using provided callback. connectAddress returns an interface pointer if
|
||||
//! the connection was established, returns null if address is empty ("") or
|
||||
//! disabled ("0") or if a connection was refused but not required ("auto"),
|
||||
//! and throws an exception if there was an unexpected error.
|
||||
//! Connect to a socket address and return a pointer to its Init interface.
|
||||
//! Returns a non-null pointer if the connection was established, returns
|
||||
//! null if address is empty ("") or disabled ("0") or if a connection was
|
||||
//! refused but not required ("auto"), and throws an exception if there was
|
||||
//! an unexpected error.
|
||||
virtual std::unique_ptr<Init> connectAddress(std::string& address) = 0;
|
||||
|
||||
//! Connect to a socket address and make a client interface proxy object
|
||||
//! using provided callback. Throws an exception if there was an error.
|
||||
//! Listen on a socket address exposing this process's init interface to
|
||||
//! clients. Throws an exception if there was an error.
|
||||
virtual void listenAddress(std::string& address) = 0;
|
||||
|
||||
//! Disconnect any incoming connections that are still connected.
|
||||
|
|
Loading…
Add table
Reference in a new issue