org.lsst.ccs.bus.jgroups
Class GroupTopic
java.lang.Object
org.lsst.ccs.bus.jgroups.GroupTopic
public class GroupTopic
- extends Object
- Author:
- bamade
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getTopicName
public String getTopicName()
getChannel
public org.jgroups.JChannel getChannel()
getAdapter
public org.jgroups.ReceiverAdapter getAdapter()
setAdapter
public void setAdapter(org.jgroups.ReceiverAdapter adapter)
create
public static GroupTopic create(String topic,
String stackProperties)
throws org.jgroups.ChannelException
- Call only once for a topic otherwise else receiver argument will not be accoutned for!
- Throws:
org.jgroups.ChannelException
close
public void close()
closeAll
public static void closeAll()
sendMessage
public void sendMessage(Object obj)
throws org.jgroups.ChannelNotConnectedException,
org.jgroups.ChannelClosedException
- Throws:
org.jgroups.ChannelNotConnectedException
org.jgroups.ChannelClosedException
Copyright © 2012 LSST. All Rights Reserved.