UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::Private::FNetPingICMP Class Reference
+ Inheritance diagram for UE::Net::Private::FNetPingICMP:

Public Member Functions

void Ping (double CurTimeSeconds, FString PingAddress)
 
- Public Member Functions inherited from UE::Net::Private::FNetPingQoSBase
void Release ()
 
- Public Member Functions inherited from TSharedFromThis< FNetPingICMP >
TSharedRef< FNetPingICMP, Mode > AsShared ()
 
TSharedRef< FNetPingICMP const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FNetPingICMP, Mode > AsWeak ()
 
TWeakPtr< FNetPingICMP const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Static Public Member Functions

static TSharedPtr< FNetPingICMPGetNetPingICMP (UNetConnection *InNetConn)
 

Friends

template<typename ObjectType , ESPMode Mode>
class SharedPointerInternals::TIntrusiveReferenceController
 

Additional Inherited Members

- Protected Member Functions inherited from UE::Net::Private::FNetPingQoSBase
 FNetPingQoSBase ()=delete
 
 FNetPingQoSBase (EPingType InPingType, FNetPing *InOwner)
 
void Reset ()
 
void PingResult (FIcmpEchoResult Result)
 
- Protected Member Functions inherited from TSharedFromThis< FNetPingICMP >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FNetPingICMP >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 
- Protected Attributes inherited from UE::Net::Private::FNetPingQoSBase
bool bPingInProgress = false
 
double PingTimestamp = 0.0
 

Detailed Description

Handles QoS ICMP pings

Member Function Documentation

◆ GetNetPingICMP()

TSharedPtr< FNetPingICMP > UE::Net::Private::FNetPingICMP::GetNetPingICMP ( UNetConnection InNetConn)
static

Singleton for retrieving an instance to the sole ICMP ping handler.

NOTE: Only the GameNetDriver client can obtain the ICMP ping handler, to prevent conflicting results from multiple active ICMP pings. This is a precautionary restriction, it might be possible to support this without conflicting results.

Parameters
InNetConnThe NetConnection whose FNetPing instance is trying to obtain the ICMP ping handler.
Returns
Returns a shared pointer to the ICMP ping handler, or nullptr if not available.

◆ Ping()

void UE::Net::Private::FNetPingICMP::Ping ( double  CurTimeSeconds,
FString  PingAddress 
)

Perform an ICMP ping.

Parameters
CurTimeSecondsThe current time, in seconds.
PingAddressThe address (without port) to ping.

Friends And Related Symbol Documentation

◆ SharedPointerInternals::TIntrusiveReferenceController


The documentation for this class was generated from the following file: