diff options
author | Liam <byteslice@airmail.cc> | 2022-10-16 03:57:40 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-19 22:31:12 +0200 |
commit | fca195b4fb1255c20579fd25d8565f0ae4759b6e (patch) | |
tree | 4e4d2820993e2956e9dc272fb1c03b840ed4da75 /src/core/hle/kernel/k_server_session.h | |
parent | kernel: add KSessionRequest (diff) | |
download | yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.gz yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.bz2 yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.lz yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.xz yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.tar.zst yuzu-fca195b4fb1255c20579fd25d8565f0ae4759b6e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_server_session.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/core/hle/kernel/k_server_session.h b/src/core/hle/kernel/k_server_session.h index c40ff4aaf..32135473b 100644 --- a/src/core/hle/kernel/k_server_session.h +++ b/src/core/hle/kernel/k_server_session.h @@ -58,37 +58,8 @@ public: } bool IsSignaled() const override; - void OnClientClosed(); - void ClientConnected(SessionRequestHandlerPtr handler) { - if (manager) { - manager->SetSessionHandler(std::move(handler)); - } - } - - void ClientDisconnected() { - manager = nullptr; - } - - /// Adds a new domain request handler to the collection of request handlers within - /// this ServerSession instance. - void AppendDomainHandler(SessionRequestHandlerPtr handler); - - /// Retrieves the total number of domain request handlers that have been - /// appended to this ServerSession instance. - std::size_t NumDomainRequestHandlers() const; - - /// Returns true if the session has been converted to a domain, otherwise False - bool IsDomain() const { - return manager && manager->IsDomain(); - } - - /// Converts the session to a domain at the end of the current command - void ConvertToDomain() { - convert_to_domain = true; - } - /// Gets the session request manager, which forwards requests to the underlying service std::shared_ptr<SessionRequestManager>& GetSessionRequestManager() { return manager; @@ -109,10 +80,6 @@ private: /// Completes a sync request from the emulated application. Result CompleteSyncRequest(HLERequestContext& context); - /// Handles a SyncRequest to a domain, forwarding the request to the proper object or closing an - /// object handle. - Result HandleDomainSyncRequest(Kernel::HLERequestContext& context); - /// This session's HLE request handlers; if nullptr, this is not an HLE server std::shared_ptr<SessionRequestManager> manager; |