org.lsst.ccs.bus.jgroups
Class JGroupsMessagingFactory
java.lang.Object
org.lsst.ccs.bus.MessagingFactory
org.lsst.ccs.bus.jgroups.JGroupsMessagingFactory
public class JGroupsMessagingFactory
- extends MessagingFactory
Change with a complete rehaul of communication.
each subssytem will have its Jgroup address
and so messages cna be adressed to specific subsystems
view can also tell if a subssysem is down!
- Author:
- bamade
|
Field Summary |
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
JGroupsMessagingFactory
public JGroupsMessagingFactory()
addCommandListener
public void addCommandListener(CommandListener l)
- Specified by:
addCommandListener in class MessagingFactory
addStatusListener
public void addStatusListener(StatusListener l)
- Specified by:
addStatusListener in class MessagingFactory
addLogListener
public void addLogListener(LogListener l)
- Specified by:
addLogListener in class MessagingFactory
addCommandListener
public void addCommandListener(CommandListener l,
String selector)
- Specified by:
addCommandListener in class MessagingFactory
addStatusListener
public void addStatusListener(StatusListener l,
String selector)
- Specified by:
addStatusListener in class MessagingFactory
addLogListener
public void addLogListener(LogListener l,
String selector)
- Specified by:
addLogListener in class MessagingFactory
sendCommand
public void sendCommand(Command cmd)
- Specified by:
sendCommand in class MessagingFactory
sendStatus
public void sendStatus(Status status)
- Specified by:
sendStatus in class MessagingFactory
sendLogEvent
public void sendLogEvent(LogEvent evt)
- Specified by:
sendLogEvent in class MessagingFactory
getToken
public String getToken()
- Specified by:
getToken in class MessagingFactory
reply
public void reply(CommandAckOrReply cmd)
- Specified by:
reply in class MessagingFactory
isReplyRequested
public boolean isReplyRequested()
- Overrides:
isReplyRequested in class MessagingFactory
noAutoReply
public void noAutoReply()
- Specified by:
noAutoReply in class MessagingFactory
shutdownBusAccess
public void shutdownBusAccess()
- Overrides:
shutdownBusAccess in class MessagingFactory
Copyright © 2012 LSST. All Rights Reserved.