mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
fa4471f566
- RemoteRC supplants most of the functionality throughout the code of RouterContact - Next step will be to sort out CI issues, then see if we can get rid of either LocalRC (and therefore RouterContact entirely)
13 lines
313 B
C++
13 lines
313 B
C++
#include "connection.hpp"
|
|
|
|
namespace llarp::link
|
|
{
|
|
Connection::Connection(
|
|
std::shared_ptr<oxen::quic::connection_interface>& c,
|
|
std::shared_ptr<oxen::quic::BTRequestStream>& s,
|
|
const RemoteRC& rc)
|
|
: conn{c}, control_stream{s}, remote_rc{std::move(rc)}
|
|
{}
|
|
|
|
} // namespace llarp::link
|