|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.internal.node.topic.RepeatingPublisher<MessageType>
public class RepeatingPublisher<MessageType>
Repeatedly send a message out on a given Publisher
.
Constructor Summary | |
---|---|
RepeatingPublisher(Publisher<MessageType> publisher,
MessageType message,
int frequency,
java.util.concurrent.ScheduledExecutorService executorService)
|
Method Summary | |
---|---|
void |
cancel()
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepeatingPublisher(Publisher<MessageType> publisher, MessageType message, int frequency, java.util.concurrent.ScheduledExecutorService executorService)
publisher
- message
- frequency
- the frequency of publication in HzMethod Detail |
---|
public void start()
public void cancel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |