Files
UnrealEngineUWP/Engine/Source/Runtime/MessagingRpc/Private/MessagingRpcModule.cpp
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

44 lines
842 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "IMessagingRpcModule.h"
#include "Modules/ModuleManager.h"
#include "MessageRpcClient.h"
#include "MessageRpcServer.h"
/**
* Implements the MessagingRpc module.
*/
class FMessagingRpcModule
: public IMessagingRpcModule
{
public:
//~ IMessagingRpcModule interface
virtual TSharedRef<IMessageRpcClient> CreateRpcClient() override
{
return MakeShareable(new FMessageRpcClient);
}
virtual TSharedRef<IMessageRpcServer> CreateRpcServer() override
{
return MakeShareable(new FMessageRpcServer);
}
public:
//~ IModuleInterface interface
virtual void StartupModule() override { }
virtual void ShutdownModule() override { }
virtual bool SupportsDynamicReloading() override
{
return false;
}
};
IMPLEMENT_MODULE(FMessagingRpcModule, MessagingRpc);