|
| Name | Description | ||
| Connected | Called when transport connects to remote peer. | |||
| Disconnected | Called when transport disconnects from remote peer. | |||
| MessageReceived | Called when there is a message to be received from the transport. | |||
| StateChanged | Called when transport changes its state. | |||
| TuningDataReceive | Called when transport is to send data and it needs to be filtered through tuning profiles. | |||
| TuningDataSend | Called when transport received data and it needs to be filtered through tuning profiles. |
BeepTransportNotifications interface is abstract definition - and it exists instead of events. In theory, it is used by the transport to notify the parent (wodBeep usually) about certain events. wodBeep will implement BeepTransportNotifications interface internally, and when you set up wodBeep's transport, it will automatically provide reference to this interface to Transport.Notifications property. This way wodBeep knows when transport connects with remote peer, when message arrives from remote peer etc. There is no need for you to implement this interface, unless you know exactly why you need it.
|