MediatorDisconnected Event
    
 

Description

Fires after mediator stops receiving packets from the peer.

Syntax

Private Sub object_MediatorDisconnected(FromID, ToID)

The MediatorDisconnected Event syntax has these parts:

PartDescription
objectA wodVPN object.
FromIDA String value. Peer ID that sent search request.
ToIDA String value. Peer ID that was searched for.

Remarks

This event is fired when mediator detects that peer has stopped sending identification packets for defined number of seconds, determined by Timeout property. No reason can be provided why packets are not received anymore - peer stopped because he managed to connect to other peer, or he timed out.