#include "cast/common/public/cast_socket.h"
#include <ostream>
#include "cast/common/channel/message_framer.h"
#include "cast/common/channel/message_util.h"
#include "cast/common/channel/proto/cast_channel.pb.h"
#include "platform/base/span.h"
#include "util/osp_logging.h"
namespace openscreen::cast {
DeserializeResult;
CastMessage;
CastSocket::Client::~Client() = default;
CastSocket::CastSocket(std::unique_ptr<TlsConnection> connection,
Client* client)
: … { … }
CastSocket::~CastSocket() { … }
Error CastSocket::Send(const CastMessage& message) { … }
void CastSocket::SetClient(Client* client) { … }
std::array<uint8_t, 2> CastSocket::GetSanitizedIpAddress() { … }
void CastSocket::OnError(TlsConnection* connection, const Error& error) { … }
void CastSocket::OnRead(TlsConnection* connection, std::vector<uint8_t> block) { … }
int CastSocket::g_next_socket_id_ = …;
}