2023-01-04 23:15:45 +01:00
|
|
|
|
using Ryujinx.Horizon.Sdk.OsTypes;
|
|
|
|
|
using Ryujinx.Horizon.Sdk.Sf.Cmif;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Sf.Hipc
|
|
|
|
|
{
|
|
|
|
|
class ServerSession : MultiWaitHolderOfHandle
|
|
|
|
|
{
|
|
|
|
|
public ServiceObjectHolder ServiceObjectHolder { get; set; }
|
2023-01-08 13:13:39 +01:00
|
|
|
|
public PointerAndSize PointerBuffer { get; set; }
|
|
|
|
|
public PointerAndSize SavedMessage { get; set; }
|
|
|
|
|
public int SessionIndex { get; }
|
|
|
|
|
public int SessionHandle { get; }
|
|
|
|
|
public bool IsClosed { get; set; }
|
|
|
|
|
public bool HasReceived { get; set; }
|
2023-01-04 23:15:45 +01:00
|
|
|
|
|
|
|
|
|
public ServerSession(int index, int handle, ServiceObjectHolder obj) : base(handle)
|
|
|
|
|
{
|
|
|
|
|
ServiceObjectHolder = obj;
|
2023-01-08 13:13:39 +01:00
|
|
|
|
SessionIndex = index;
|
|
|
|
|
SessionHandle = handle;
|
2023-01-04 23:15:45 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|