class MvalReportingHandler extends GenericCallback implements org.jlab.coda.cMsg.cMsgCallbackInterface
Note that M values are reported at a max rate of 1/2 Hz. This callback is only active if this emu is a DC or PEB.
Constructor and Description |
---|
MvalReportingHandler(CMSGPortal cmsgPortal)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
callback(org.jlab.coda.cMsg.cMsgMessage msg,
java.lang.Object o)
This method is a callback for subscriptions of subject = this emu's name.
|
getMaximumQueueSize, getMaximumThreads, getMessagesPerThread, getSkipSize, maySkipMessages, mustSerializeMessages
MvalReportingHandler(CMSGPortal cmsgPortal)
cmsgPortal
- of type CMSGPortalpublic void callback(org.jlab.coda.cMsg.cMsgMessage msg, java.lang.Object o)
This method is a callback for subscriptions of subject = this emu's name. This callback can get 2 types of messages, containing:
For DC/PEB: M value from ET input channel,or
For DC/PEB: command to reset M value
callback
in interface org.jlab.coda.cMsg.cMsgCallbackInterface
msg
- cMsgMessage being receivedo
- object given in subscription and passed in here (null in this case)