Back to Site
Loading...
Searching...
No Matches
dial_service.h
Go to the documentation of this file.
1#pragma once
2
37#include "librats/core/types.h"
38
39namespace librats {
40
42public:
43 virtual ~DialService() = default;
44
50 virtual bool dial_direct(const Address& addr, TransportKind kind,
51 const DialProfile& profile) = 0;
52};
53
54} // namespace librats
A dialable transport endpoint: a numeric IP + port.
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 node.h:73