Package org.jlab.io.ring
Class DataRingProducer
java.lang.Object
org.jlab.coda.xmsg.core.xMsg
org.jlab.io.ring.DataRingProducer
- All Implemented Interfaces:
AutoCloseable
public class DataRingProducer
extends org.jlab.coda.xmsg.core.xMsg
- Author:
- gavalian
-
Field Summary
Fields inherited from class org.jlab.coda.xmsg.core.xMsg
myId, myName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(HipoDataEvent event) void
addEvioEvent
(EvioDataEvent event) static void
void
setDelay
(int delay) sets the sleep timer after each event has been published.void
shutdown()
void
start()
Start publisher service. establishes connectionvoid
Methods inherited from class org.jlab.coda.xmsg.core.xMsg
cacheConnection, cacheConnection, close, deregister, deregister, deregister, destroy, destroy, destroyConnection, discover, discover, discover, getConnection, getConnection, getDefaultProxyAddress, getDefaultRegistrarAddress, getName, getPoolSize, publish, publish, publish, register, register, register, subscribe, subscribe, subscribe, subscribe, syncPublish, syncPublish, syncPublish, terminateCallbacks, unsubscribe, unsubscribeAll
-
Constructor Details
-
DataRingProducer
public DataRingProducer()
-
-
Method Details
-
setDelay
public void setDelay(int delay) sets the sleep timer after each event has been published.- Parameters:
delay
-
-
updateList
public void updateList() -
start
public void start()Start publisher service. establishes connection -
addEvioEvent
-
shutdown
public void shutdown() -
addEvent
-
main
-