public class BusMessagingFactory extends MessagingFactory
| Modifier and Type | Field and Description |
|---|---|
protected BusMessagingLayer |
busMessagingLayer |
protected org.lsst.ccs.utilities.logging.Logger |
curLogger |
protected Map<String,org.lsst.ccs.bus.BusMessagingFactory.InnerFactory> |
map |
instance| Constructor and Description |
|---|
BusMessagingFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommandListener(CommandListener l) |
void |
addCommandListener(CommandListener l,
String selector) |
void |
addLogListener(LogListener l) |
void |
addLogListener(LogListener l,
String selector) |
void |
addStatusListener(StatusListens l) |
void |
addStatusListener(StatusListens l,
String selector) |
MessagingFactory |
forSubsystem(String name) |
String |
getToken() |
void |
noAutoReply() |
void |
removeCommandListener(CommandListener l) |
void |
removeLogListener(LogListener l) |
void |
removeStatusListener(StatusListens l) |
void |
reply(CommandAckOrReply cmd) |
void |
sendCommand(Command cmd) |
void |
sendLogEvent(LogEvent evt) |
void |
sendStatus(Status status) |
getInstance, getSubsystemName, instanciate, isReplyRequested, shutdownBusAccessprotected BusMessagingLayer busMessagingLayer
protected Map<String,org.lsst.ccs.bus.BusMessagingFactory.InnerFactory> map
protected org.lsst.ccs.utilities.logging.Logger curLogger
public MessagingFactory forSubsystem(String name)
forSubsystem in class MessagingFactorypublic void addCommandListener(CommandListener l)
addCommandListener in class MessagingFactorypublic void removeCommandListener(CommandListener l)
removeCommandListener in class MessagingFactorypublic void addStatusListener(StatusListens l)
addStatusListener in class MessagingFactorypublic void removeStatusListener(StatusListens l)
removeStatusListener in class MessagingFactorypublic void addLogListener(LogListener l)
addLogListener in class MessagingFactorypublic void removeLogListener(LogListener l)
removeLogListener in class MessagingFactorypublic void addCommandListener(CommandListener l, String selector)
addCommandListener in class MessagingFactorypublic void addStatusListener(StatusListens l, String selector)
addStatusListener in class MessagingFactorypublic void addLogListener(LogListener l, String selector)
addLogListener in class MessagingFactorypublic void sendCommand(Command cmd)
sendCommand in class MessagingFactorypublic void sendStatus(Status status)
sendStatus in class MessagingFactorypublic void sendLogEvent(LogEvent evt)
sendLogEvent in class MessagingFactorypublic String getToken()
getToken in class MessagingFactorypublic void reply(CommandAckOrReply cmd)
reply in class MessagingFactorypublic void noAutoReply()
noAutoReply in class MessagingFactoryCopyright © 2014 LSST. All Rights Reserved.