#include "cast/common/channel/cast_socket_message_port.h"
#include <utility>
#include "cast/common/channel/message_util.h"
#include "cast/common/channel/proto/cast_channel.pb.h"
#include "cast/common/channel/virtual_connection.h"
namespace openscreen::cast {
CastSocketMessagePort::CastSocketMessagePort(VirtualConnectionRouter& router)
: … { … }
CastSocketMessagePort::~CastSocketMessagePort() { … }
void CastSocketMessagePort::SetSocket(WeakPtr<CastSocket> socket) { … }
int CastSocketMessagePort::GetSocketId() { … }
void CastSocketMessagePort::SetClient(MessagePort::Client& client) { … }
void CastSocketMessagePort::ResetClient() { … }
void CastSocketMessagePort::PostMessage(
const std::string& destination_sender_id,
const std::string& message_namespace,
const std::string& message) { … }
void CastSocketMessagePort::OnMessage(VirtualConnectionRouter* router,
CastSocket* socket,
proto::CastMessage message) { … }
}