#include <dial_service.h>
Public Member Functions | |
| virtual | ~DialService ()=default |
| virtual bool | dial_direct (const Address &addr, TransportKind kind, const DialProfile &profile)=0 |
Start exactly one dial to addr over kind, bypassing the transport race. | |
Definition at line 41 of file dial_service.h.
|
virtualdefault |
|
pure virtual |
Start exactly one dial to addr over kind, bypassing the transport race.
Non-blocking; the outcome surfaces through the node's ordinary peer-connected event. Returns false when the node cannot carry that transport at all (no datagram socket, or an address family the one socket cannot reach), in which case nothing was started and no failure event will follow.
Implemented in librats::Node.