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 TypeMethodDescriptionvoidaddEvent(HipoDataEvent event) voidaddEvioEvent(EvioDataEvent event) static voidvoidsetDelay(int delay) sets the sleep timer after each event has been published.voidshutdown()voidstart()Start publisher service. establishes connectionvoidMethods 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
-