Documentation for the Unreal C++ Library
Loading...
Searching...
No Matches
PVRONetDriver.cpp
Go to the documentation of this file.
1// Copyright(c) 2023 PixoVR, LLC. All Rights Reserved.
2
3#include "PVRONetDriver.h"
4#include "OnlineSubsystemNames.h"
5#include "OnlineSubsystem.h"
6#include "SocketSubsystem.h"
7#include "PVROPrivate.h"
8
9UPVRONetDriver::UPVRONetDriver(const FObjectInitializer& ObjectInitializer) :
10 Super(ObjectInitializer)
11{
12}
13
15{
16 Super::PostInitProperties();
17}
18
20{
21 return Super::IsAvailable();
22}
23
25{
26 return Super::GetSocketSubsystem();
27}
28
29bool UPVRONetDriver::InitBase(bool bInitAsClient, FNetworkNotify* InNotify, const FURL& URL, bool bReuseAddressAndPort, FString& Error)
30{
31 return UIpNetDriver::InitBase(bInitAsClient, InNotify, URL, bReuseAddressAndPort, Error);
32}
33
34bool UPVRONetDriver::InitConnect(FNetworkNotify* InNotify, const FURL& ConnectURL, FString& Error)
35{
36 return Super::InitConnect(InNotify, ConnectURL, Error);
37}
38
39bool UPVRONetDriver::InitListen(FNetworkNotify* InNotify, FURL& ListenURL, bool bReuseAddressAndPort, FString& Error)
40{
41 return Super::InitListen(InNotify, ListenURL, bReuseAddressAndPort, Error);
42}
43
45{
46 Super::Shutdown();
47}
48
50{
51 return Super::IsNetResourceValid();
52}
#define Error(pmt,...)
virtual bool InitBase(bool bInitAsClient, FNetworkNotify *InNotify, const FURL &URL, bool bReuseAddressAndPort, FString &Error) override
virtual bool InitListen(FNetworkNotify *InNotify, FURL &ListenURL, bool bReuseAddressAndPort, FString &Error) override
virtual bool IsAvailable() const override
virtual bool InitConnect(FNetworkNotify *InNotify, const FURL &ConnectURL, FString &Error) override
virtual void PostInitProperties() override
virtual bool IsNetResourceValid() override
virtual class ISocketSubsystem * GetSocketSubsystem() override
virtual void Shutdown() override