29 lines
573 B
C++
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() { }
|
|
};
|