26 lines
674 B
C++
26 lines
674 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,
|
|
const AuSPtr<Protocol::IProtocolPiece> &pProtocolPiece) override;
|
|
|
|
|
|
private:
|
|
TLSContext *pParent_;
|
|
};
|
|
} |