public interface NetworkBridge extends Service
Modifier and Type | Method and Description |
---|---|
long |
getDequeueCounter() |
long |
getEnqueueCounter() |
String |
getLocalAddress() |
String |
getLocalBrokerName() |
ObjectName |
getMbeanObjectName() |
String |
getRemoteAddress() |
String |
getRemoteBrokerId() |
String |
getRemoteBrokerName() |
void |
resetStats() |
void |
serviceLocalException(Throwable error)
Service an exception received from the Local Broker connection.
|
void |
serviceRemoteException(Throwable error)
Service an exception received from the Remote Broker connection.
|
void |
setMbeanObjectName(ObjectName objectName) |
void |
setNetworkBridgeListener(NetworkBridgeListener listener)
Set the NetworkBridgeFailedListener
|
void serviceRemoteException(Throwable error)
error
- void serviceLocalException(Throwable error)
error
- void setNetworkBridgeListener(NetworkBridgeListener listener)
listener
- String getRemoteAddress()
String getRemoteBrokerName()
String getRemoteBrokerId()
String getLocalAddress()
String getLocalBrokerName()
long getEnqueueCounter()
long getDequeueCounter()
void setMbeanObjectName(ObjectName objectName)
objectName
- The ObjectName assigned to this bridge in the MBean server.ObjectName getMbeanObjectName()
void resetStats()
Copyright © 2005–2020 FuseSource, Corp.. All rights reserved.