public class Publisher extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
Publisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Establishes reasonable default values for the private fields, where feasible.
|
void |
postStart()
Takes configuration changes into account and starts the publication task.
|
void |
publish(Serializable msg)
Immediately publishes any non-null serializable object as a
KeyValueData instance, |
void |
publishMotionDone(MotionDone motion)
Publish a
MotionDone message. |
void |
shutdown()
Shuts down the publication task and its scheduler.
|
public void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecyclepublic void shutdown()
shutdown in interface org.lsst.ccs.framework.HasLifecyclepublic void publish(Serializable msg)
KeyValueData instance,msg - If null, we do nothing. Otherwise this object is packaged for transmission
using the simple name of its class as the key.public void publishMotionDone(MotionDone motion)
MotionDone message.motion - The motion message.Copyright © 2024 LSST. All rights reserved.