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 SummaryFields inherited from class org.jlab.coda.xmsg.core.xMsgmyId, myName
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.xMsgcacheConnection, 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- 
DataRingProducerpublic DataRingProducer()
 
- 
- 
Method Details- 
setDelaypublic void setDelay(int delay) sets the sleep timer after each event has been published.- Parameters:
- delay-
 
- 
updateListpublic void updateList()
- 
startpublic void start()Start publisher service. establishes connection
- 
addEvioEvent
- 
shutdownpublic void shutdown()
- 
addEvent
- 
main
 
-