You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
39 lines
697 B
C++
39 lines
697 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "DirectLinkStreamCommunicationInterface.h"
|
|
|
|
#include "CoreTypes.h"
|
|
#include "IMessageContext.h"
|
|
|
|
|
|
|
|
namespace DirectLink
|
|
{
|
|
|
|
struct FStreamDescription
|
|
{
|
|
enum class EConnectionState
|
|
{
|
|
Uninitialized,
|
|
RequestSent,
|
|
Active,
|
|
Closed,
|
|
};
|
|
|
|
bool bThisIsSource = false;
|
|
|
|
FGuid SourcePoint;
|
|
FGuid DestinationPoint;
|
|
FStreamPort LocalStreamPort = 0; // works like an Id within that endpoint
|
|
FMessageAddress RemoteAddress;
|
|
FStreamPort RemoteStreamPort = 0;
|
|
EConnectionState Status = EConnectionState::Uninitialized;
|
|
|
|
TUniquePtr<IStreamReceiver> Receiver;
|
|
TSharedPtr<IStreamSender> Sender;
|
|
};
|
|
|
|
} // namespace DirectLink
|