#include "cast/receiver/public/receiver_socket_factory.h"
#include "util/osp_logging.h"
namespace openscreen::cast {
ReceiverSocketFactory::Client::~Client() = default;
ReceiverSocketFactory::ReceiverSocketFactory(Client& client,
CastSocket::Client& socket_client)
: … { … }
ReceiverSocketFactory::~ReceiverSocketFactory() = default;
void ReceiverSocketFactory::OnAccepted(
TlsConnectionFactory* factory,
std::vector<uint8_t> der_x509_peer_cert,
std::unique_ptr<TlsConnection> connection) { … }
void ReceiverSocketFactory::OnConnected(
TlsConnectionFactory* factory,
std::vector<uint8_t> der_x509_peer_cert,
std::unique_ptr<TlsConnection> connection) { … }
void ReceiverSocketFactory::OnConnectionFailed(
TlsConnectionFactory* factory,
const IPEndpoint& remote_address) { … }
void ReceiverSocketFactory::OnError(TlsConnectionFactory* factory,
const Error& error) { … }
}