27 lines
639 B
C++
27 lines
639 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: ProtocolPiece.hpp
|
||
|
Date: 2022-8-24
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO::Protocol
|
||
|
{
|
||
|
struct IProtocolNext;
|
||
|
struct ProtocolStack;
|
||
|
|
||
|
struct ProtocolPiece
|
||
|
{
|
||
|
ProtocolStack *pParent;
|
||
|
AuSPtr<IProtocolInterceptor> pInterceptor;
|
||
|
AuSPtr<IProtocolInterceptorEx> pInterceptorEx;
|
||
|
AuSPtr<IProtocolNext> pWriteInteface;
|
||
|
AuSPtr<ProtocolPiece> pNext;
|
||
|
AuByteBuffer outputBuffer;
|
||
|
AuSPtr<IStreamWriter> pOuputWriter;
|
||
|
|
||
|
AuSPtr<IStreamWriter> ToNextWriter();
|
||
|
};
|
||
|
}
|