![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetworkFileServerConnection.h>
Inheritance diagram for FNetworkFileServerClientConnection:Public Member Functions | |
| FNetworkFileServerClientConnection (const FNetworkFileServerOptions &InFileServerOptions) | |
| virtual | ~FNetworkFileServerClientConnection () |
| bool | ProcessPayload (FArchive &Ar) |
| FString | GetDescription () const |
Public Member Functions inherited from FSelfRegisteringExec | |
| CORE_API | FSelfRegisteringExec () |
| virtual CORE_API | ~FSelfRegisteringExec () |
Public Member Functions inherited from FExec | |
| virtual CORE_API | ~FExec () |
| virtual CORE_API bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
Additional Inherited Members | |
Static Public Member Functions inherited from FSelfRegisteringExec | |
| static CORE_API bool | StaticExec (UWorld *Inworld, const TCHAR *Cmd, FOutputDevice &Ar) |
This class processes all incoming messages from the client.
| FNetworkFileServerClientConnection::FNetworkFileServerClientConnection | ( | const FNetworkFileServerOptions & | InFileServerOptions | ) |
Creates and initializes a new instance.
| InSocket | - The client socket to use. |
| NetworkFileDelegates- | delegates the client calls when events from the client happen |
|
virtual |
Destructor.
|
protected |
Convert the given filename from the client to the server version of it NOTE: Potentially modifies the input FString!!!!
| FilenameToConvert | Upon input, the client version of the filename. After the call, the server version |
|
protected |
Convert the given filename from the an arbitrary local representation to the normalized server version of it NOTE: Potentially modifies the input FString!!!!
| FilenameToConvert | Upon input, the filename. After the call, the server version |
|
overrideprotectedvirtual |
Implementation of Exec that is called on all targets where UE_ALLOW_EXEC_COMMANDS is true
Reimplemented from FExec.
|
protected |
When a file is modified this callback is triggered cleans up any cached information about the file and notifies client
| Filename | of the file which has been modified |
|
inlineprotected |
Finds open file handle by its ID.
| HandleId |
|
protected |
Convert a path to a sandbox path and translate so the client can understand it
| Filename | to convert |
| bLowerCaseFiles | conver the file name to all lower case |
Fixup sandbox paths to match what package loading will request on the client side. e.g. Sandbox path: "../../../Elemental/Content/Elemental/Effects/FX_Snow_Cracks/Crack_02/Materials/M_SnowBlast.uasset -> client path: "../../../Samples/Showcases/Elemental/Content/Elemental/Effects/FX_Snow_Cracks/Crack_02/Materials/M_SnowBlast.uasset" This ensures that devicelocal-cached files will be properly timestamp checked before deletion.
|
protected |
Convert a path to a sandbox path and translate so the client can understand it
| Filename | to convert |
| bLowerCaseFiles | conver the file name to all lower case |
Fixup sandbox paths to match what package loading will request on the client side. e.g. Sandbox path: "../../../Elemental/Content/Elemental/Effects/FX_Snow_Cracks/Crack_02/Materials/M_SnowBlast.uasset -> client path: "../../../Samples/Showcases/Elemental/Content/Elemental/Effects/FX_Snow_Cracks/Crack_02/Materials/M_SnowBlast.uasset" This ensures that devicelocal-cached files will be properly timestamp checked before deletion.
| FString FNetworkFileServerClientConnection::GetDescription | ( | ) | const |
Gets the client connection's description.
|
protected |
|
protected |
Closes file handle and removes it from the open handles list.
|
protected |
Copies file.
|
protected |
Creates directory.
|
protected |
Deletes directory.
|
protected |
Deletes directory recursively.
|
protected |
Deletes file.
|
protected |
Gets info on the specified file.
|
protected |
Walk over a set of directories, and get all files (recursively) in them, along with their timestamps.
|
protected |
Heartbeat.
|
protected |
Moves file.
|
protected |
Convert the given filename from the server to the client version of it NOTE: Potentially modifies the input FString!!!!
| FilenameToConvert | Upon input, the server version of the filename. After the call, the client version Opens a file for reading or writing. |
Processes the given payload.
| Ar | An archive containing the payload data. |
| Out | An archive that will contain the processed data. |
|
protected |
Reads from file.
|
protected |
Reposts local files.
|
protected |
Seeks in file.
|
protected |
Sets read only flag.
|
protected |
Sets file timestamp.
|
protected |
Processes a heartbeat message.
| In | - |
| Out | - |
|
protected |
ConvertToAbsolutePathForExternalAppForRead.
|
protected |
ConvertToAbsolutePathForExternalAppForWrite.
|
protected |
Writes to file.
|
protectedpure virtual |
Implemented in FCookOnTheFlyNetworkFileServerConnection.