29 lines
585 B
C++
29 lines
585 B
C++
/***
|
|
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: AuProtocolStackSpecialWriter.hpp
|
|
Date: 2023-09-21
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO::Protocol
|
|
{
|
|
struct ProtocolStack;
|
|
|
|
struct SpecialWriter : IStreamWriter
|
|
{
|
|
ProtocolStack *pParent {};
|
|
|
|
SpecialWriter(ProtocolStack *pParent);
|
|
|
|
EStreamError IsOpen() override;
|
|
|
|
EStreamError Write(const Memory::MemoryViewStreamRead ¶meters) override;
|
|
|
|
void Flush() override;
|
|
|
|
void Close() override;
|
|
};
|
|
}
|