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

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

public class DiscoveryGroupControlImpl
extends java.lang.Object
implements DiscoveryGroupControl

A AcceptorControl

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

Constructor Summary
DiscoveryGroupControlImpl(DiscoveryGroup acceptor, DiscoveryGroupConfiguration configuration)
           
 
Method Summary
 java.lang.String getGroupAddress()
           
 int getGroupPort()
           
 java.lang.String getName()
           
 long getRefreshTimeout()
           
 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

DiscoveryGroupControlImpl

public DiscoveryGroupControlImpl(DiscoveryGroup acceptor,
                                 DiscoveryGroupConfiguration configuration)
Method Detail

getName

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

getGroupAddress

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

getGroupPort

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

getRefreshTimeout

public long getRefreshTimeout()
Specified by:
getRefreshTimeout in interface DiscoveryGroupControl

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.