public class JMSMessagingFactory extends MessagingFactory
| Modifier and Type | Field and Description |
|---|---|
protected static org.lsst.ccs.utilities.logging.Logger |
log |
instance| Constructor and Description |
|---|
JMSMessagingFactory() |
| 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(StatusListener l) |
void |
addStatusListener(StatusListener l,
String selector) |
static int |
convertToJMSPriority(PriorityLevel level) |
String |
getToken() |
boolean |
isReplyRequested() |
void |
noAutoReply() |
void |
removeCommandListener(CommandListener l) |
void |
removeLogListener(LogListener l) |
void |
removeStatusListener(StatusListener l) |
void |
reply(CommandAckOrReply reply) |
void |
sendCommand(Command cmd) |
void |
sendLogEvent(LogEvent evt) |
protected void |
sendMessage(javax.jms.ObjectMessage m,
javax.jms.Session sess,
javax.jms.MessageProducer sender) |
void |
sendStatus(Status s) |
forSubsystem, getInstance, getSubsystemName, instanciate, shutdownBusAccesspublic String getToken()
getToken in class MessagingFactorypublic void addCommandListener(CommandListener l)
addCommandListener in class MessagingFactorypublic void addCommandListener(CommandListener l, String selector)
addCommandListener in class MessagingFactorypublic void removeCommandListener(CommandListener l)
removeCommandListener in class MessagingFactorypublic void addStatusListener(StatusListener l)
addStatusListener in class MessagingFactorypublic void addStatusListener(StatusListener l, String selector)
addStatusListener in class MessagingFactorypublic void removeStatusListener(StatusListener l)
removeStatusListener in class MessagingFactorypublic void addLogListener(LogListener l)
addLogListener in class MessagingFactorypublic void addLogListener(LogListener l, String selector)
addLogListener in class MessagingFactorypublic void removeLogListener(LogListener l)
removeLogListener in class MessagingFactorypublic void sendCommand(Command cmd)
sendCommand in class MessagingFactorypublic static int convertToJMSPriority(PriorityLevel level)
public void sendStatus(Status s)
sendStatus in class MessagingFactorypublic void sendLogEvent(LogEvent evt)
sendLogEvent in class MessagingFactoryprotected void sendMessage(javax.jms.ObjectMessage m,
javax.jms.Session sess,
javax.jms.MessageProducer sender)
public boolean isReplyRequested()
isReplyRequested in class MessagingFactorypublic void noAutoReply()
noAutoReply in class MessagingFactorypublic void reply(CommandAckOrReply reply)
reply in class MessagingFactoryCopyright © 2013 LSST. All Rights Reserved.