|
| | UDPMulticastProvider (LCM lcm, URLParser up) |
| | UDP multicast provider constructor More...
|
| |
| void | Publish (string channel, byte[] data, int offset, int length) |
| | Publish a message More...
|
| |
| void | Subscribe (string channel) |
| | Subscribe to a channel More...
|
| |
| void | Unsubscribe (String channel) |
| | Unsubscribe from a channel More...
|
| |
| void | Close () |
| | Call to close the provider More...
|
| |
| void | Publish (string channel, byte[] data, int offset, int len) |
| | Publish() will be called when an application sends a message, and could be called on an arbitrary thread. More...
|
| |
| void | Subscribe (string channel) |
| | Subscribe() will be called when a channel subscription has been made. Providers that do not use a broadcast communications mechanism could use this notification to establish communications with additional hosts. More...
|
| |
| void | Unsubscribe (string channel) |
| | Unsubscribe() will be called when a channel subscription is cancelled. More...
|
| |
| void | Close () |
| | Close() will be called when the application no longer requires the provider and wishes to free the resources used by the provider. For example, file handles and network sockets should be closed. After this method is called, the results of any calls to publish or subscribe are undefined. More...
|
| |
LCM provider for the udpm: URL. All messages are broadcast over a pre-arranged UDP multicast address. Subscription operations are a no-op, since all messages are always broadcast.
This mechanism is very simple, low-latency, and efficient due to not having to transmit messages more than once when there are multiple subscribers. Since it uses UDP, it is lossy.