1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

Introduce CIPCServerSideClient

As a new base class of IPC connections server-side.
Port ASClientConnection to CIPCServerSideClient.
This commit is contained in:
Robin Burchell 2019-07-17 10:20:07 +02:00 committed by Andreas Kling
parent 10ffaf019f
commit edcbba9e98
4 changed files with 224 additions and 179 deletions

View file

@ -31,7 +31,8 @@ void ASEventLoop::drain_server()
} else {
dbgprintf("AudioServer: accept()ed client %d\n", client_fd);
static int s_next_client_id = 0;
new ASClientConnection(client_fd, s_next_client_id++, m_mixer);
CIPCServerSideClientCreator<ASClientConnection>(client_fd, s_next_client_id++, m_mixer);
//new ASClientConnection(client_fd, s_next_client_id++, m_mixer);
}
}