These files should have been deleted.

This commit is contained in:
Ben Vanik 2015-07-27 08:28:31 -07:00
parent 987589dcbc
commit e4d9f38b82
2 changed files with 0 additions and 80 deletions

View File

@ -1,34 +0,0 @@
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#include "xenia/debug/client/xdp/xdp_command_processor.h"
#include "xenia/base/logging.h"
#include "xenia/base/string_buffer.h"
#include "xenia/debug/client/xdp/xdp_client.h"
namespace xe {
namespace debug {
namespace client {
namespace xdp {
using namespace xe::debug::proto;
constexpr size_t kReceiveBufferSize = 1 * 1024 * 1024;
constexpr size_t kTransmitBufferSize = 1 * 1024 * 1024;
XdpCommandProcessor::XdpCommandProcessor(XdpClient* client)
: client_(client),
packet_reader_(kReceiveBufferSize),
packet_writer_(kTransmitBufferSize) {}
} // namespace xdp
} // namespace client
} // namespace debug
} // namespace xe

View File

@ -1,46 +0,0 @@
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_DEBUG_CLIENT_XDP_XDP_COMMAND_PROCESSOR_H_
#define XENIA_DEBUG_CLIENT_XDP_XDP_COMMAND_PROCESSOR_H_
#include <cstdint>
#include "xenia/debug/proto/packet_reader.h"
#include "xenia/debug/proto/packet_writer.h"
#include "xenia/debug/proto/xdp_protocol.h"
namespace xe {
namespace debug {
namespace client {
namespace xdp {
class XdpClient;
class XdpCommandProcessor {
public:
XdpCommandProcessor(XdpClient* client);
~XdpCommandProcessor() = default;
bool ProcessBuffer(const uint8_t* buffer, size_t buffer_length);
private:
bool ProcessPacket(const proto::Packet* packet);
void Flush();
XdpClient* client_ = nullptr;
};
} // namespace xdp
} // namespace client
} // namespace debug
} // namespace xe
#endif // XENIA_DEBUG_CLIENT_XDP_XDP_COMMAND_PROCESSOR_H_