| 138 | } |
| 139 | |
| 140 | void BOBI2PInboundTunnel::CreateConnection (std::shared_ptr<AddressReceiver> receiver, std::shared_ptr<const i2p::data::LeaseSet> leaseSet) |
| 141 | { |
| 142 | LogPrint (eLogDebug, "BOB: New inbound connection"); |
| 143 | auto connection = std::make_shared<I2PTunnelConnection>(this, receiver->socket, leaseSet); |
| 144 | AddHandler (connection); |
| 145 | connection->I2PConnect (receiver->data, receiver->dataLen); |
| 146 | } |
| 147 | |
| 148 | BOBI2POutboundTunnel::BOBI2POutboundTunnel (const std::string& outhost, uint16_t port, |
| 149 | std::shared_ptr<ClientDestination> localDestination, bool quiet): BOBI2PTunnel (localDestination), |
nothing calls this directly
no test coverage detected