FNetworkNotify

The net code uses this to send notifications.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetworkDelegates.h

Include

#include "Engine/NetworkDelegates.h"

Syntax

class FNetworkNotify

Remarks

The net code uses this to send notifications.

Functions

Name Description

Public function Virtual

void

 

NotifyAcceptedConnection

(
    UNetConnection* Connection
)

Notification that a new connection has been created/established as a result of a remote request, previously approved by NotifyAcceptingConnection

Public function Virtual

bool

 

NotifyAcceptingChannel

(
    UChannel* Channel
)

Notification that a new channel is being created/opened as a result of a remote request (Actor creation, etc)

Public function Virtual

EAcceptConne...

 

NotifyAcceptingConnection()

Notification that an incoming connection is pending, giving the interface a chance to reject the request

Public function Virtual

void

 

NotifyControlMessage

(
    UNetConnection* Connection,
    uint8 MessageType,
    FInBunch& Bunch
)

Handler for messages sent through a remote connection's control channel not required to handle the message, but if it reads any data from Bunch, it MUST read the ENTIRE data stream for that message (i.e. use FNetControlMessage::Receive())

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss