mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
LibCore: Port CoreIPCServer to using CLocalServer.
Use CLocalServer to listen for connections in WindowServer and AudioServer. This allows us to accept incoming CLocalSocket objects from the CLocalServer and construct client connections based on those. Removed COpenedSocket since it's replaced by CLocalSocket.
This commit is contained in:
parent
c289e49ee5
commit
fe45f5a6d2
9 changed files with 40 additions and 93 deletions
|
@ -16,7 +16,7 @@ class WSMenuBar;
|
|||
|
||||
class WSClientConnection final : public IPC::Server::Connection<WSAPI_ServerMessage, WSAPI_ClientMessage> {
|
||||
public:
|
||||
explicit WSClientConnection(int fd, int client_id);
|
||||
explicit WSClientConnection(CLocalSocket&, int client_id);
|
||||
~WSClientConnection() override;
|
||||
void send_greeting() override;
|
||||
bool handle_message(const WSAPI_ClientMessage&, const ByteBuffer&& = {}) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue