MediatorDisconnected Method
      
 

Description

Called after mediator stops receiving packets from the peer.

Return Type

None  

Syntax

object.MediatorDisconnected Owner, FromID, ToID

The MediatorDisconnected Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type IwodVPNNotify.
Owner A wodVPNCom object. Reference to the wodVPNCom instance that called this notification method.
FromIDA String value. Peer ID that sent search request.
ToIDA String value. Peer ID that was searched for.

Remarks

This method is called only if you have implemented the IwodVPNNotify interface in your application and the wodVPN1.Notification property has received a reference to an instance of your implementation.

This notification method is called 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.