27 lines
544 B
C++
27 lines
544 B
C++
/***
|
|
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: AuProtocolStackSpecialReader.hpp
|
|
Date: 2023-09-21
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO::Protocol
|
|
{
|
|
struct ProtocolStack;
|
|
|
|
struct SpecialReader : IStreamReader
|
|
{
|
|
ProtocolStack *pParent {};
|
|
|
|
SpecialReader(ProtocolStack *pParent);
|
|
|
|
EStreamError IsOpen() override;
|
|
|
|
EStreamError Read(const Memory::MemoryViewStreamWrite ¶mters) override;
|
|
|
|
void Close() override;
|
|
};
|
|
}
|