NativeDtlsEngine.setOnPeerEvicted
Set the peer eviction callback.
The callback is invoked whenever a peer is removed from the connection table, with the reason for the eviction.
Parameters
callback | The callback delegate. |
Set the peer eviction callback.
The callback is invoked whenever a peer is removed from the connection table, with the reason for the eviction.
callback | The callback delegate. |