org.lsst.ccs.bus.jgroups
Class GroupTopic

java.lang.Object
  extended by org.lsst.ccs.bus.jgroups.GroupTopic

public class GroupTopic
extends Object

Author:
bamade

Method Summary
 void close()
           
static void closeAll()
           
static GroupTopic create(String topic, 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()
           
 String getTopicName()
           
 void sendMessage(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
 

Method Detail

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.