1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-15 17:16:40 +00:00
Ryujinx/Ryujinx.Horizon/Sdk/Sf/Hipc/ServerDomainSessionManager.cs

24 lines
724 B
C#
Raw Normal View History

using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Sf.Cmif;
using System;
namespace Ryujinx.Horizon.Sdk.Sf.Hipc
{
class ServerDomainSessionManager : ServerSessionManager
{
public ServerDomainManager Domain { get; }
public ServerDomainSessionManager(int entryCount, int maxDomains)
{
Domain = new ServerDomainManager(entryCount, maxDomains);
}
protected override Result DispatchManagerRequest(ServerSession session, Span<byte> inMessage, Span<byte> outMessage)
{
HipcManager hipcManager = new(this, session);
return DispatchRequest(new ServiceObjectHolder(hipcManager), session, inMessage, outMessage);
}
}
}