|
| Type | Description | ||
| IBeepTransport | Reference to implementation of IBeepTransport interface. |
Transport property defines how wodBeep will send messages to the other peer. Typically, this will be socket-type transport over TCP connection (implemented by wodBeep package), but you can define your own transport as well: over UDP, SMTP/POP3, other Beep session, or any other type you need. Only thing required to define your own transport is that transport is two-sided, allowing both sides to send and receive structured messages. To implement your own transport, you need
to implement these methods: Once you implement these methods, you will notify parent object (usually wodBeep) when connection is established, message received, state changes etc.. Typically, to initialize transport engine and pass its
reference to wodBeep you need to do something like this (VB sample):
|