45 lines
839 B
C++
45 lines
839 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: BaseServer.cpp
|
||
|
Date: 2022-2-1
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#include <Source/RuntimeInternal.hpp>
|
||
|
#include "Net.hpp"
|
||
|
#include "BaseSocket.hpp"
|
||
|
#include "BaseServer.hpp"
|
||
|
|
||
|
namespace Aurora::IO::Net
|
||
|
{
|
||
|
BaseServer::BaseServer(BaseSocket &&socket) : osSocket_(socket)
|
||
|
{}
|
||
|
|
||
|
BaseServer::~BaseServer()
|
||
|
{}
|
||
|
|
||
|
bool BaseServer::GetLocalEndpoint(ConnectionEndpoint &out)
|
||
|
{
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
void BaseServer::GetClients(AuList<AuSPtr<IBasicSocketThreaded>> &clients)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
bool BaseServer::Listen()
|
||
|
{
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
void BaseServer::ReconfigureDefaultStream(const StreamConfig &config)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
BaseSocket &BaseServer::ToPlatformSocket()
|
||
|
{
|
||
|
return this->osSocket_;
|
||
|
}
|
||
|
}
|