Files
UnrealEngine/Engine/Source/Runtime/Portal/Rpc/Public/IPortalRpcServer.h
2025-05-18 13:04:45 +08:00

29 lines
573 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class IMessageRpcServer;
struct FMessageAddress;
/**
* Interface for Portal RPC server
*/
class IPortalRpcServer
{
public:
/**
* Sends a FPortalRpcServer response to the specified address, effectively
* allowing the two services to now communicate with each other directly.
*/
virtual void ConnectTo(const FMessageAddress& Address) const = 0;
virtual IMessageRpcServer* GetMessageServer() = 0;
public:
/** Virtual destructor. */
virtual ~IPortalRpcServer() { }
};