#include <NetworkingSystemComponent.h>
Inherits AZ::Component, AZ::SystemTickBus::Handler, and AzNetworking::INetworking.
|
static void | Reflect (AZ::ReflectContext *context) |
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
Implementation of the networking system interface. This class creates and manages the set of network interfaces used by the application.
◆ Activate()
void AzNetworking::NetworkingSystemComponent::Activate |
( |
| ) |
|
|
override |
◆ CreateCompressor()
AZStd::unique_ptr< ICompressor > AzNetworking::NetworkingSystemComponent::CreateCompressor |
( |
const AZStd::string_view |
name | ) |
|
|
overridevirtual |
Creates a compressor using a registered factory looked up by name
- Parameters
-
name | The name of the Compressor Factory to use, must match result of factory->GetFactoryName() |
- Returns
- A unique_ptr to the new compressor
Implements AzNetworking::INetworking.
◆ CreateNetworkInterface()
INetworkInterface * AzNetworking::NetworkingSystemComponent::CreateNetworkInterface |
( |
const AZ::Name & |
name, |
|
|
ProtocolType |
protocolType, |
|
|
TrustZone |
trustZone, |
|
|
IConnectionListener & |
listener |
|
) |
| |
|
overridevirtual |
◆ DestroyNetworkInterface()
bool AzNetworking::NetworkingSystemComponent::DestroyNetworkInterface |
( |
const AZ::Name & |
name | ) |
|
|
overridevirtual |
Destroys a network interface instance by name.
- Parameters
-
name | the name of the network interface to destroy |
- Returns
- boolean true on success or false on failure
Implements AzNetworking::INetworking.
◆ DumpStats()
void AzNetworking::NetworkingSystemComponent::DumpStats |
( |
const AZ::ConsoleCommandContainer & |
arguments | ) |
|
◆ ForceUpdate()
void AzNetworking::NetworkingSystemComponent::ForceUpdate |
( |
| ) |
|
|
overridevirtual |
Forcibly swaps reader thread buffers and updates all Network Interfaces CAUTION: For use when SystemTickBus is suspended or similar
Implements AzNetworking::INetworking.
◆ GetNetworkInterfaces()
const NetworkInterfaces & AzNetworking::NetworkingSystemComponent::GetNetworkInterfaces |
( |
| ) |
const |
|
overridevirtual |
Returns the raw network interfaces owned by the networking instance.
- Returns
- the raw network interfaces owned by the networking instance
Implements AzNetworking::INetworking.
◆ GetTcpListenThreadSocketCount()
uint32_t AzNetworking::NetworkingSystemComponent::GetTcpListenThreadSocketCount |
( |
| ) |
const |
|
overridevirtual |
◆ GetTcpListenThreadUpdateTime()
AZ::TimeMs AzNetworking::NetworkingSystemComponent::GetTcpListenThreadUpdateTime |
( |
| ) |
const |
|
overridevirtual |
◆ GetUdpReaderThreadSocketCount()
uint32_t AzNetworking::NetworkingSystemComponent::GetUdpReaderThreadSocketCount |
( |
| ) |
const |
|
overridevirtual |
◆ GetUdpReaderThreadUpdateTime()
AZ::TimeMs AzNetworking::NetworkingSystemComponent::GetUdpReaderThreadUpdateTime |
( |
| ) |
const |
|
overridevirtual |
◆ OnSystemTick()
void AzNetworking::NetworkingSystemComponent::OnSystemTick |
( |
| ) |
|
|
override |
AZ::SystemTickBus::Handler overrides.
◆ RegisterCompressorFactory()
void AzNetworking::NetworkingSystemComponent::RegisterCompressorFactory |
( |
ICompressorFactory * |
factory | ) |
|
|
overridevirtual |
Registers a Compressor Factory that can be used to create compressors for INetworkInterfaces
- Parameters
-
Implements AzNetworking::INetworking.
◆ RetrieveNetworkInterface()
INetworkInterface * AzNetworking::NetworkingSystemComponent::RetrieveNetworkInterface |
( |
const AZ::Name & |
name | ) |
|
|
overridevirtual |
Retrieves a network interface instance by name.
- Parameters
-
name | the name of the network interface to retrieve |
- Returns
- pointer to the requested network interface, or nullptr on error
Implements AzNetworking::INetworking.
◆ UnregisterCompressorFactory()
bool AzNetworking::NetworkingSystemComponent::UnregisterCompressorFactory |
( |
const AZStd::string_view |
name | ) |
|
|
overridevirtual |
Unregisters the compressor factory
- Parameters
-
name | The name of the Compressor factory to unregister, must match result of factory->GetFactoryName() |
- Returns
- Whether the factory was found and unregistered
Implements AzNetworking::INetworking.
The documentation for this class was generated from the following file:
- Code/Framework/AzNetworking/AzNetworking/Framework/NetworkingSystemComponent.h