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