method BeepTransportNotifications.Disconnected (ErrorCode, ErrorText)
Called when transport disconnects from remote peer.

  TypeDescription 
   ErrorCode as Long Long integer that holds error number, if error occurred. 
   ErrorText as String String expression that holds text description of the error. 
 

Disconnected notification is called by the transport when transport disconnected from remote peer. When this happens, wodBeep will no longer try to send or receive new messages.

For your own transport implementations: you should call this method when you want to notify your owner (wodBeep in most cases) that you have lost connection with remote peer. ErrorCode and ErrorText should provide information on why disconnection occurred.