|
@@ -231,6 +231,8 @@ Contains a managed pointer to the peer.
|
|
|
|
|
|
|
|
`Peer.PingInterval(uint interval)` sets the interval at which pings will be sent to a peer. Pings are used both to monitor the liveness of the connection and also to dynamically adjust the throttle during periods of low traffic so that the throttle has reasonable responsiveness during traffic spikes.
|
|
`Peer.PingInterval(uint interval)` sets the interval at which pings will be sent to a peer. Pings are used both to monitor the liveness of the connection and also to dynamically adjust the throttle during periods of low traffic so that the throttle has reasonable responsiveness during traffic spikes.
|
|
|
|
|
|
|
|
|
|
+`Peer.Timeout(uint timeoutLimit, uint timeoutMinimum, uint timeoutMaximum)` sets the timeout parameters for a peer. The timeout parameters control how and when a peer will timeout from a failure to acknowledge reliable traffic. Timeout values use a semi-linear mechanism, where if a reliable packet is not acknowledged within average RTT plus a variance tolerance until timeout reaches a set limit. If the timeout is thus at this limit and reliable packets have been sent but not acknowledged within a certain minimum time period, the peer will be disconnected. Alternatively, if reliable packets have been sent but not acknowledged for a certain maximum time period, the peer will be disconnected regardless of the current timeout limit value.
|
|
|
|
|
+
|
|
|
`Peer.Disconnect(uint data)` request a disconnection from a peer.
|
|
`Peer.Disconnect(uint data)` request a disconnection from a peer.
|
|
|
|
|
|
|
|
`Peer.DisconnectNow(uint data)` force an immediate disconnection from a peer.
|
|
`Peer.DisconnectNow(uint data)` force an immediate disconnection from a peer.
|