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 java.lang.Object
implements NetworkBridgeViewMBean


Constructor Summary
NetworkBridgeView(NetworkBridge bridge)
           
 
Method Summary
 long getDequeueCounter()
           
 long getEnqueueCounter()
           
 java.lang.String getLocalAddress()
           
 java.lang.String getLocalBrokerName()
           
 java.lang.String getRemoteAddress()
           
 java.lang.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 java.lang.Exception
Specified by:
start in interface Service
Throws:
java.lang.Exception

stop

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

getLocalAddress

public java.lang.String getLocalAddress()
Specified by:
getLocalAddress in interface NetworkBridgeViewMBean

getRemoteAddress

public java.lang.String getRemoteAddress()
Specified by:
getRemoteAddress in interface NetworkBridgeViewMBean

getRemoteBrokerName

public java.lang.String getRemoteBrokerName()
Specified by:
getRemoteBrokerName in interface NetworkBridgeViewMBean

getLocalBrokerName

public java.lang.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-2011 FuseSource, Corp.. All Rights Reserved.