2022-06-21 04:49:36 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: IIOBufferedStreamAvailable.hpp
|
|
|
|
Date: 2022-6-20
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::IO
|
|
|
|
{
|
2022-11-07 13:34:28 +00:00
|
|
|
namespace Protocol
|
|
|
|
{
|
|
|
|
struct IProtocolStack;
|
|
|
|
}
|
|
|
|
|
2022-06-21 04:49:36 +00:00
|
|
|
struct IIOPipeInterceptor;
|
|
|
|
struct IIOBufferedStreamAvailable;
|
|
|
|
|
|
|
|
struct IOPipeCallback
|
|
|
|
{
|
|
|
|
EPipeCallbackType type;
|
|
|
|
|
|
|
|
struct
|
|
|
|
{
|
2022-08-29 15:46:46 +00:00
|
|
|
AuSPtr<IIOBufferedStreamAvailable> pOnData;
|
2022-06-21 04:49:36 +00:00
|
|
|
} handleBufferedStream;
|
|
|
|
|
|
|
|
struct
|
|
|
|
{
|
2022-08-29 15:46:46 +00:00
|
|
|
AuSPtr<IIOPipeInterceptor> pIntercepter;
|
|
|
|
AuSPtr<IStreamWriter> pWriter;
|
2022-06-21 04:49:36 +00:00
|
|
|
|
|
|
|
bool bFlushWriter {true};
|
|
|
|
} forwardStream;
|
|
|
|
};
|
|
|
|
}
|