Photon Fusion
2.0.8
Main network configuration class. More...
Public Types | |
| enum class | ReliableDataTransfers |
| Flag for allowed Reliable Data transfer modes. More... | |
Public Member Functions | |
| NetworkConfiguration | Init () |
| Initializes and creates a copy of this NetworkProjectConfig. More... | |
Public Attributes | |
| double | ConnectionShutdownTime = 1 |
| Default delay between connection changes status to Shutdown (disconnected/invalid), and it actually being released (freeing all references to that particular connection). More... | |
| double | ConnectionTimeout = 10 |
| Max allowed time in seconds that the local peer can run without receiving any update from a remote peer. If a client does not receive any update from the server within this period, it will disconnect itself. If a server does not receive any update from a remote client within this period, it will disconnect that particular client. More... | |
| ReliableDataTransfers | ReliableDataTransferModes |
| Current ReliableDataTransferModes mode. More... | |
Properties | |
| int | ConnectAttempts [get] |
| Max number of connection attempts that a Client will run when trying to connect to a remote Server. More... | |
| double | ConnectInterval [get] |
| Interval in seconds between each connection attempt from a Client. More... | |
| double | ConnectionDefaultRtt [get] |
| Default assumed RTT in seconds for new connections (before actual RTT has been determined). The real RTT is calculated over time once the connection is established. More... | |
| double | ConnectionPingInterval [get] |
| Interval in seconds between PING messages sent to a remote connection, in order to keep that connection alive. More... | |
| int | SocketRecvBufferSize [get] |
| Size in Kilobytes of the underlying socket receive buffer. More... | |
| int | SocketSendBufferSize [get] |
| Size in Kilobytes of the underlying socket send buffer. More... | |
Main network configuration class.
|
strong |
| NetworkConfiguration Init | ( | ) |
Initializes and creates a copy of this NetworkProjectConfig.
| double ConnectionShutdownTime = 1 |
Default delay between connection changes status to Shutdown (disconnected/invalid), and it actually being released (freeing all references to that particular connection).
| double ConnectionTimeout = 10 |
Max allowed time in seconds that the local peer can run without receiving any update from a remote peer. If a client does not receive any update from the server within this period, it will disconnect itself. If a server does not receive any update from a remote client within this period, it will disconnect that particular client.
| ReliableDataTransfers ReliableDataTransferModes |
Current ReliableDataTransferModes mode.
|
get |
Max number of connection attempts that a Client will run when trying to connect to a remote Server.
|
get |
Interval in seconds between each connection attempt from a Client.
|
get |
Default assumed RTT in seconds for new connections (before actual RTT has been determined). The real RTT is calculated over time once the connection is established.
|
get |
Interval in seconds between PING messages sent to a remote connection, in order to keep that connection alive.
Currently unused.
|
get |
Size in Kilobytes of the underlying socket receive buffer.
|
get |
Size in Kilobytes of the underlying socket send buffer.