mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
19 lines
1 KiB
C#
19 lines
1 KiB
C#
|
using Ryujinx.Horizon.Common;
|
|||
|
using Ryujinx.Horizon.Sdk.Sf.Hipc;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace Ryujinx.Horizon.Sdk.Sf.Cmif
|
|||
|
{
|
|||
|
abstract class ServerMessageProcessor
|
|||
|
{
|
|||
|
public abstract void SetImplementationProcessor(ServerMessageProcessor impl);
|
|||
|
public abstract ServerMessageRuntimeMetadata GetRuntimeMetadata();
|
|||
|
|
|||
|
public abstract Result PrepareForProcess(scoped ref ServiceDispatchContext context, ServerMessageRuntimeMetadata runtimeMetadata);
|
|||
|
public abstract Result GetInObjects(Span<ServiceObjectHolder> inObjects);
|
|||
|
public abstract HipcMessageData PrepareForReply(scoped ref ServiceDispatchContext context, out Span<byte> outRawData, ServerMessageRuntimeMetadata runtimeMetadata);
|
|||
|
public abstract void PrepareForErrorReply(scoped ref ServiceDispatchContext context, out Span<byte> outRawData, ServerMessageRuntimeMetadata runtimeMetadata);
|
|||
|
public abstract void SetOutObjects(scoped ref ServiceDispatchContext context, HipcMessageData response, Span<ServiceObjectHolder> outObjects);
|
|||
|
}
|
|||
|
}
|