Delegate DifferentAppProtocolVersionEncountered
A delegate called back when a Swarm<T> encounters a peer with different AppProtocolVersion in the network.
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public delegate bool DifferentAppProtocolVersionEncountered(Peer peer, AppProtocolVersion peerVersion, AppProtocolVersion localVersion);
Parameters
Type | Name | Description |
---|---|---|
Peer | peer | An encountered peer with a different AppProtocolVersion. |
AppProtocolVersion | peerVersion | An encountered different AppProtocolVersion. |
AppProtocolVersion | localVersion | The currently running application's AppProtocolVersion. |
Returns
Type | Description |
---|---|
Boolean | Whether to recognize the encountered |