25 lines
581 B
C++
25 lines
581 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: TLSProtocolSend.hpp
|
||
|
Date: 2022-8-24
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO::TLS
|
||
|
{
|
||
|
struct TLSContext;
|
||
|
|
||
|
struct TLSProtocolSend : Protocol::IProtocolInterceptorEx
|
||
|
{
|
||
|
TLSProtocolSend(TLSContext *pParent);
|
||
|
|
||
|
virtual bool OnDataAvailable(const AuSPtr<Memory::ByteBuffer> &pReadInByteBuffer,
|
||
|
const AuSPtr<Memory::ByteBuffer> &pWriteOutByteBuffer) override;
|
||
|
|
||
|
|
||
|
private:
|
||
|
TLSContext *pParent_;
|
||
|
};
|
||
|
}
|