AuroraRuntime/Source/IO/Protocol/AuProtocolStackSpecialWriter.hpp
Jamie Reece Wilson 994fcb5010 [*/+] Added/Moved code to AuProtocolStackSpecialWriter[.cpp]
[+] Further mutex guarantees under protocol stacks (hardening)
2023-09-21 21:18:59 +01:00

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 &parameters) override;
void Flush() override;
void Close() override;
};
}