AuroraRuntime/Include/Aurora/IO/Net/ISocketBase.hpp
Jamie Reece Wilson dcf94a8b23 [+] (dummy!) ISocketServerLimits.hpp
[+] (dummy!) ISocketChannelLimits.hpp
[+] ISocketChannel::GetChannelLimits
[+] ISocketBase::GetLockedWorkerThread
[+] ISocket::GetSocketServer
2023-11-29 13:55:01 +00:00

28 lines
592 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: ISocketBase.hpp
Date: 2022-8-22
Author: Reece
***/
#pragma once
namespace Aurora::IO::Net
{
struct INetWorker;
struct ISocketBase
{
virtual const NetError &GetError() = 0;
virtual const NetEndpoint &GetLocalEndpoint() = 0;
virtual void Shutdown(bool bNow = true) = 0;
virtual void Destroy() = 0;
virtual AuUInt ToPlatformHandle() = 0;
virtual AuSPtr<INetWorker> GetLockedWorkerThread() = 0;
AURT_ADD_USR_DATA;
};
}