org.apache.activemq.broker.jmx
Class NetworkBridgeView

java.lang.Object
  extended by org.apache.activemq.broker.jmx.NetworkBridgeView
All Implemented Interfaces:
NetworkBridgeViewMBean, Service

public class NetworkBridgeView
extends Object
implements NetworkBridgeViewMBean


Constructor Summary
NetworkBridgeView(NetworkBridge bridge)
           
 
Method Summary
 long getDequeueCounter()
           
 long getEnqueueCounter()
           
 String getLocalAddress()
           
 String getLocalBrokerName()
           
 String getRemoteAddress()
           
 String getRemoteBrokerName()
           
 boolean isCreatedByDuplex()
           
 void setCreateByDuplex(boolean createByDuplex)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkBridgeView

public NetworkBridgeView(NetworkBridge bridge)
Method Detail

start

public void start()
           throws Exception
Specified by:
start in interface Service
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Service
Throws:
Exception

getLocalAddress

public String getLocalAddress()
Specified by:
getLocalAddress in interface NetworkBridgeViewMBean

getRemoteAddress

public String getRemoteAddress()
Specified by:
getRemoteAddress in interface NetworkBridgeViewMBean

getRemoteBrokerName

public String getRemoteBrokerName()
Specified by:
getRemoteBrokerName in interface NetworkBridgeViewMBean

getLocalBrokerName

public String getLocalBrokerName()
Specified by:
getLocalBrokerName in interface NetworkBridgeViewMBean

getEnqueueCounter

public long getEnqueueCounter()
Specified by:
getEnqueueCounter in interface NetworkBridgeViewMBean

getDequeueCounter

public long getDequeueCounter()
Specified by:
getDequeueCounter in interface NetworkBridgeViewMBean

isCreatedByDuplex

public boolean isCreatedByDuplex()
Specified by:
isCreatedByDuplex in interface NetworkBridgeViewMBean

setCreateByDuplex

public void setCreateByDuplex(boolean createByDuplex)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.