mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibCore: Move Stream-based sockets into the Core
namespace
This commit is contained in:
parent
d43a7eae54
commit
a96339b72b
123 changed files with 1157 additions and 1100 deletions
|
@ -17,7 +17,7 @@ namespace RequestServer {
|
|||
|
||||
static HashMap<int, RefPtr<ConnectionFromClient>> s_connections;
|
||||
|
||||
ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket> socket)
|
||||
ConnectionFromClient::ConnectionFromClient(NonnullOwnPtr<Core::LocalSocket> socket)
|
||||
: IPC::ConnectionFromClient<RequestClientEndpoint, RequestServerEndpoint>(*this, move(socket), 1)
|
||||
{
|
||||
s_connections.set(1, *this);
|
||||
|
@ -123,7 +123,7 @@ struct Job {
|
|||
return *s_jobs.find(url)->value;
|
||||
}
|
||||
|
||||
void start(Core::Stream::Socket& socket)
|
||||
void start(Core::Socket& socket)
|
||||
{
|
||||
auto is_connected = socket.is_open();
|
||||
VERIFY(is_connected);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue