Jamie Reece Wilson
dcf94a8b23
[+] (dummy!) ISocketChannelLimits.hpp [+] ISocketChannel::GetChannelLimits [+] ISocketBase::GetLockedWorkerThread [+] ISocket::GetSocketServer
26 lines
564 B
C++
26 lines
564 B
C++
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: ISocket.hpp
|
|
Date: 2022-8-15
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO::Net
|
|
{
|
|
struct ISocketChannel;
|
|
struct ISocketDriver;
|
|
struct ISocketServer;
|
|
|
|
struct ISocket : virtual ISocketBase
|
|
{
|
|
virtual AuSPtr<ISocketChannel> ToChannel() = 0;
|
|
|
|
virtual const NetEndpoint &GetRemoteEndpoint() = 0;
|
|
|
|
virtual AuSPtr<ISocketDriver> GetUserDriver() = 0;
|
|
|
|
virtual AuSPtr<ISocketServer> GetSocketServer() = 0;
|
|
};
|
|
} |