method BeepTransportNotifications.StateChanged (NewState, OldState)
Called when transport changes its state.

  TypeDescription 
   NewState as StatesEnum New state of the transport. 
   OldState as StatesEnum Previous state of the transport. 
 

StateChanged notification is called by the transport when its internal state changes. Although this is for informational purposes only, it allows wodBeep (or whoever else receives these notification) to see what happens with underlying transport.

For your own transport implementations: you should call this method when you want to notify your owner (wodBeep in most cases) that transport's internal state has changed. You should keep a track of both the new and the old states.