mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:12:44 +00:00 
			
		
		
		
	 1682f0b760
			
		
	
	
		1682f0b760
		
	
	
	
	
		
			
			SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			957 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			957 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/HashMap.h>
 | |
| #include <LibIPC/ClientConnection.h>
 | |
| #include <LibWeb/Forward.h>
 | |
| #include <SymbolServer/Forward.h>
 | |
| #include <SymbolServer/SymbolClientEndpoint.h>
 | |
| #include <SymbolServer/SymbolServerEndpoint.h>
 | |
| 
 | |
| namespace SymbolServer {
 | |
| 
 | |
| class ClientConnection final
 | |
|     : public IPC::ClientConnection<SymbolClientEndpoint, SymbolServerEndpoint>
 | |
|     , public SymbolServerEndpoint {
 | |
|     C_OBJECT(ClientConnection);
 | |
| 
 | |
| public:
 | |
|     explicit ClientConnection(NonnullRefPtr<Core::LocalSocket>, int client_id);
 | |
|     ~ClientConnection() override;
 | |
| 
 | |
|     virtual void die() override;
 | |
| 
 | |
| private:
 | |
|     virtual OwnPtr<Messages::SymbolServer::GreetResponse> handle(const Messages::SymbolServer::Greet&) override;
 | |
|     virtual OwnPtr<Messages::SymbolServer::SymbolicateResponse> handle(const Messages::SymbolServer::Symbolicate&) override;
 | |
| };
 | |
| 
 | |
| }
 |