chromium/remoting/protocol/channel_dispatcher_base.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/protocol/channel_dispatcher_base.h"

#include <utility>

#include "base/functional/bind.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/protocol/message_channel_factory.h"
#include "remoting/protocol/message_pipe.h"

namespace remoting::protocol {

ChannelDispatcherBase::ChannelDispatcherBase(const std::string& channel_name)
    :{}

ChannelDispatcherBase::~ChannelDispatcherBase() {}

void ChannelDispatcherBase::Init(MessageChannelFactory* channel_factory,
                                 EventHandler* event_handler) {}

void ChannelDispatcherBase::Init(std::unique_ptr<MessagePipe> message_pipe,
                                 EventHandler* event_handler) {}

void ChannelDispatcherBase::OnChannelReady(
    std::unique_ptr<MessagePipe> message_pipe) {}

void ChannelDispatcherBase::OnMessagePipeOpen() {}

void ChannelDispatcherBase::OnMessageReceived(
    std::unique_ptr<CompoundBuffer> message) {}

void ChannelDispatcherBase::OnMessagePipeClosed() {}

}  // namespace remoting::protocol