|
| Name | Description | ||
| Notifications | Holds reference to Notification interface. | |||
| Reset | Resets session information stored in the transport. | |||
| Send | Sends message over transport engine. | |||
| Start | Starts the transport engine. | |||
| State | Returns current transport state. | |||
| Stop | Stops the transport engine. |
BeepTransport is interface definition you should implement if you need different transport than ones provided with wodBeep package (BeepTransportTCP, for example). In order to make your object behave like wodBeep's transport, it needs to implement above methods. Also, it needs to accept IBeepTransportNotifications reference where notifications will be sent - such as when transport is connected with remote peer, when message arrives etc.. You can not use BeepTransport directly as is - just by initializing its instance. You must ALWAYS use objects that implement BeepTransport.
|