public class UDPMulticastProvider extends java.lang.Object implements Provider
Constructor and Description |
---|
UDPMulticastProvider(LCM lcm,
URLParser up) |
Modifier and Type | Method and Description |
---|---|
void |
close()
close() will be called when the application no longer requires the provider
and wishes to free the resources used by the provider.
|
void |
publish(java.lang.String channel,
byte[] data,
int offset,
int length)
Publish() will be called when an application sends a message, and
could be called on an arbitrary thread.
|
void |
subscribe(java.lang.String channel)
subscribe() will be called when a channel subscription has been
made.
|
void |
unsubscribe(java.lang.String channel)
unsubscribe() will be called when a channel subscription is cancelled.
|
public void publish(java.lang.String channel, byte[] data, int offset, int length)
Provider
public void subscribe(java.lang.String channel)
Provider
public void unsubscribe(java.lang.String channel)
Provider
unsubscribe
in interface Provider
public void close()
Provider