AuroraRuntime/Source/IO/Net/AuNetSocketServerOnRead.Unix.hpp

32 lines
706 B
C++
Raw Normal View History

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: AuNetSocketServerOnRead.Unix.hpp
Date: 2022-12-16
Author: Reece
***/
#pragma once
#include "AuNetSocketServerAcceptReadOperation.hpp"
namespace Aurora::IO::Net
{
struct NetInterface;
struct Socket;
struct NetSocketServerOnRead :
virtual SocketServerAcceptReadOperationBase
{
NetSocketServerOnRead(NetInterface *pInterface,
Socket *pParent);
bool DoTick();
bool InitOnce();
void Destroy();
protected:
NetInterface *pInterface_;
Socket *pParent_;
AuSPtr<IIOProcessorItem> pWatch_;
};
}