UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FResolveInfoCached Class Reference

#include <IPAddressAsyncResolve.h>

+ Inheritance diagram for FResolveInfoCached:

Public Member Functions

 FResolveInfoCached (const FInternetAddr &InAddr)
 
virtual bool IsComplete () const
 
virtual int32 GetErrorCode () const
 
virtual const FInternetAddrGetResolvedAddress () const
 
- Public Member Functions inherited from FResolveInfo
virtual ~FResolveInfo ()
 

Protected Member Functions

 FResolveInfoCached ()
 
- Protected Member Functions inherited from FResolveInfo
 FResolveInfo ()
 

Protected Attributes

TSharedPtr< FInternetAddrAddr
 

Detailed Description

A non-async resolve info for returning cached results

Constructor & Destructor Documentation

◆ FResolveInfoCached() [1/2]

FResolveInfoCached::FResolveInfoCached ( )
inlineprotected

Hidden on purpose

◆ FResolveInfoCached() [2/2]

FResolveInfoCached::FResolveInfoCached ( const FInternetAddr InAddr)

Sets the address to return to the caller

Parameters
InAddrthe address that is being cached

Member Function Documentation

◆ GetErrorCode()

virtual int32 FResolveInfoCached::GetErrorCode ( ) const
inlinevirtual

The error that occurred when trying to resolve

Returns
error code from the operation

Implements FResolveInfo.

◆ GetResolvedAddress()

virtual const FInternetAddr & FResolveInfoCached::GetResolvedAddress ( ) const
inlinevirtual

Returns a copy of the resolved address

Returns
the resolved IP address

Implements FResolveInfo.

◆ IsComplete()

virtual bool FResolveInfoCached::IsComplete ( ) const
inlinevirtual

Whether the async process has completed or not

Returns
true if it completed successfully, false otherwise

Implements FResolveInfo.

Member Data Documentation

◆ Addr

TSharedPtr<FInternetAddr> FResolveInfoCached::Addr
protected

The address that was resolved


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