Photon Fusion
2.1.1
Main network configuration class. More...
Public Types | |
| enum | ReliableDataTransfers |
| Flag for allowed Reliable Data transfer modes. More... | |
Public Member Functions | |
| NetworkConfiguration | Init () |
| Initializes and creates a copy of this NetworkProjectConfig. | |
| void | SanityCheck () |
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). | |
| 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. | |
Properties | |
| int | ConnectAttempts [get] |
| Max number of connection attempts that a Client will run when trying to connect to a remote Server. | |
| double | ConnectInterval [get] |
| Interval in seconds between each connection attempt from a Client. | |
| 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. | |
| double | ConnectionPingInterval [get] |
| Interval in seconds between PING messages sent to a remote connection, in order to keep that connection alive. | |
| int | SocketRecvBufferSize [get] |
| Size in Kilobytes of the underlying socket receive buffer. | |
| int | SocketSendBufferSize [get] |
| Size in Kilobytes of the underlying socket send buffer. | |
Main network configuration class.
| NetworkConfiguration Init | ( | ) |
Initializes and creates a copy of this NetworkProjectConfig.
|
get |
Interval in seconds between PING messages sent to a remote connection, in order to keep that connection alive.
Currently unused.