org.jboss.messaging.core.management.impl
Class BroadcastGroupControlImpl

java.lang.Object
  extended by org.jboss.messaging.core.management.impl.BroadcastGroupControlImpl
All Implemented Interfaces:
BroadcastGroupControl, MessagingComponentControl

public class BroadcastGroupControlImpl
extends java.lang.Object
implements BroadcastGroupControl

A BroadcastGroupControl

Author:
Jeff Mesnil Created 11 dec. 2008 17:09:04

Constructor Summary
BroadcastGroupControlImpl(BroadcastGroup broadcastGroup, BroadcastGroupConfiguration configuration)
           
 
Method Summary
 long getBroadcastPeriod()
           
 java.lang.Object[] getConnectorPairs()
           
 java.lang.String getConnectorPairsAsJSON()
           
 java.lang.String getGroupAddress()
           
 int getGroupPort()
           
 int getLocalBindPort()
           
 java.lang.String getName()
           
 boolean isStarted()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcastGroupControlImpl

public BroadcastGroupControlImpl(BroadcastGroup broadcastGroup,
                                 BroadcastGroupConfiguration configuration)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface BroadcastGroupControl

getBroadcastPeriod

public long getBroadcastPeriod()
Specified by:
getBroadcastPeriod in interface BroadcastGroupControl

getConnectorPairs

public java.lang.Object[] getConnectorPairs()
Specified by:
getConnectorPairs in interface BroadcastGroupControl

getConnectorPairsAsJSON

public java.lang.String getConnectorPairsAsJSON()
                                         throws java.lang.Exception
Specified by:
getConnectorPairsAsJSON in interface BroadcastGroupControl
Throws:
java.lang.Exception

getGroupAddress

public java.lang.String getGroupAddress()
Specified by:
getGroupAddress in interface BroadcastGroupControl

getGroupPort

public int getGroupPort()
Specified by:
getGroupPort in interface BroadcastGroupControl

getLocalBindPort

public int getLocalBindPort()
Specified by:
getLocalBindPort in interface BroadcastGroupControl

isStarted

public boolean isStarted()
Specified by:
isStarted in interface MessagingComponentControl

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface MessagingComponentControl
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface MessagingComponentControl
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.