LCM .NET API
|
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. More...
Public Member Functions | |
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... | |
Public Member Functions inherited from LCM.LCM.Provider | |
void | Unsubscribe (string channel) |
Unsubscribe() will be called when a channel subscription is cancelled. More... | |
Properties | |
System.Net.IPAddress | InetAddr [get] |
int | InetPort [get] |
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.
UDP multicast provider constructor
lcm | LCM object |
up | URL parser object |
|
inline |
Call to close the provider
Implements LCM.LCM.Provider.
|
inline |
Publish a message
channel | channel name |
data | data byte array |
offset | offset of the data to write |
length | length of the data to write |
Implements LCM.LCM.Provider.
|
inline |
|
inline |
Unsubscribe from a channel
channel | channel name |