/***
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;
};
}