AuroraRuntime/Include/Aurora/IO/IIOBufferedStreamAvailable.hpp
Reece Wilson 7be2d3fbdc [+] AuUtility::ThroughputCalculator
[+] AuNet::ISocketStats
[+] AuNet::ISocketChannel::GetRecvStats()
[+] AuNet::ISocketChannel::GetSendStats()
[+] AuIO::IOProcessor::RunTickEx(AuUInt32 dwTimeout)
[*] Refactor clock APIs
[+] Documentation in headers
[+] AuIO::IIOPipeWork::GetStartTickMS()
[+] AuIO::IIOPipeWork::GetLastTickMS()
[+] AuIO::IIOPipeWork::GetPredictedThroughput()
[+] AuIO::IIOPipeWork::GetBytesProcessed()
2022-12-06 22:58:15 +00:00

22 lines
644 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: IBufferedStreamAvailable.hpp
Date: 2022-6-20
Author: Reece
***/
#pragma once
namespace Aurora::IO
{
struct IIOPipeInterceptor;
AUKN_INTERFACE(IIOBufferedStreamAvailable,
/**
* @brief
* @return false Restores the read head. This will not stop further callbacks until the IOWorkItem is explicitly aborted.
* true Nothing. If you moved the read head forward, you must return true to prevent roll-back.
*/
AUI_METHOD(bool, OnDataAvailable, (Memory::ByteBuffer &, view))
);
}