Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Channel.h |
Include |
#include "Engine/Channel.h" |
class UChannel : public UObject
Base class of communication channels.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bIsInDormancyHysteresis |
|
|
uint32: 1 |
bIsReplicationPaused |
|
|
uint32: 1 |
bOpenedForCheckpoint |
|
|
uint32: 1 |
bPausedUntilReliableACK |
|
|
uint32: 1 |
bPendingDormancy |
|
|
uint32: 1 |
bPooled |
|
|
uint32: 1 |
Broken |
|
|
uint32: 1 |
bTornOff |
|
|
ChIndex |
||
|
ChName |
||
|
uint32: 1 |
Closing |
|
|
TObjectPtr< cla... |
Connection |
|
|
uint32: 1 |
Dormant |
|
|
FInBunch * |
InPartialBunch |
|
|
FInBunch * |
InRec |
|
|
NumInRec |
||
|
NumOutRec |
||
|
uint32: 1 |
OpenAcked |
Variables. |
|
uint32: 1 |
OpenedLocally |
|
|
OpenPacketId |
||
|
uint32: 1 |
OpenTemporary |
|
|
OutRec |
||
|
uint32: 1 |
SentClosingBunch |
Name | Description | |
---|---|---|
|
UChannel ( |
Name | Description | ||
---|---|---|---|
|
AddedToChannelPool() |
Notification that this channel has been placed in a channel pool and needs to reset to its original state so it can be used again like a new channel |
|
|
AppendExportBunches |
Append any export bunches |
|
|
AppendMustBeMappedGuids ( |
Append any "must be mapped" guids to front of bunch. |
|
|
AssertInSequenced() |
Make sure the incoming buffer is in sequence and there are no duplicates. |
|
|
BecomeDormant() |
Closes the actor channel but with a 'dormant' flag set so it can be reopened |
|
|
CanStopTicking() |
Return true to indicate that this channel no longer needs to Tick() every frame. |
|
|
CleanUp ( |
Cleans up channel structures and nulls references to the channel |
|
|
Close ( |
Close the base channel. Returns how many bits were written to the send buffer |
|
|
ConditionalCleanUp ( |
Cleans up channel if it hasn't already been |
|
|
Describe() |
Describe the channel. |
|
|
Init ( |
UChannel interface. |
|
|
IsNetReady ( |
Return whether this channel is ready for sending. |
|
|
IsReplicationPaused() |
Returns whether replication is currently paused on this channel |
|
|
PrintReliableBunchBuffer() |
||
|
ReadyForDormancy ( |
Returns true if channel is ready to go dormant (e.g., all outstanding property updates have been ACK'd) |
|
|
ReceivedAck ( |
Positive acknowledgment processing. |
|
|
ReceivedAcks() |
Handle an acknowledgment on this channel. Channel might be closed/cleaned-up by this call. |
|
|
ReceivedAcks ( |
General channel functions. |
|
|
ReceivedBunch ( |
Handle an incoming bunch. |
|
|
ReceivedNak ( |
Negative acknowledgment processing. |
|
|
ReceivedRawBunch |
Process a raw, possibly out-of-sequence bunch: either queue it or dispatch it. |
|
|
ReceivedSequencedBunch ( |
Process a properly-sequenced bunch. |
|
|
FPacketIdRan... |
SendBunch |
Send a bunch if it's not overflowed, and queue it if it's reliable. |
|
SetClosingFlag() |
Set the closing flag. |
|
|
SetReplicationPaused ( |
Sets whether replication is currently paused on this channel or not |
|
|
StartBecomingDormant() |
Puts the channel in a state to start becoming dormant. |
|
|
Tick() |
Handle time passing on this channel. |