org.apache.qpid.server.federation
Class BrokerLink
java.lang.Object
org.apache.qpid.server.federation.BrokerLink
- All Implemented Interfaces:
- ConfiguredObject<LinkConfigType,LinkConfig>, LinkConfig, org.apache.qpid.transport.ConnectionListener
public class BrokerLink
- extends Object
- implements LinkConfig, org.apache.qpid.transport.ConnectionListener
BrokerLink
public BrokerLink(VirtualHost virtualHost,
String transport,
String host,
int port,
String remoteVhost,
boolean durable,
String authMechanism,
String username,
String password)
getVirtualHost
public VirtualHost getVirtualHost()
- Specified by:
getVirtualHost
in interface LinkConfig
getTransport
public String getTransport()
- Specified by:
getTransport
in interface LinkConfig
getHost
public String getHost()
- Specified by:
getHost
in interface LinkConfig
getPort
public int getPort()
- Specified by:
getPort
in interface LinkConfig
getRemoteVhost
public String getRemoteVhost()
- Specified by:
getRemoteVhost
in interface LinkConfig
getId
public UUID getId()
- Specified by:
getId
in interface ConfiguredObject<LinkConfigType,LinkConfig>
getConfigType
public LinkConfigType getConfigType()
- Specified by:
getConfigType
in interface ConfiguredObject<LinkConfigType,LinkConfig>
getParent
public ConfiguredObject getParent()
- Specified by:
getParent
in interface ConfiguredObject<LinkConfigType,LinkConfig>
isDurable
public boolean isDurable()
- Specified by:
isDurable
in interface ConfiguredObject<LinkConfigType,LinkConfig>
getAuthMechanism
public String getAuthMechanism()
- Specified by:
getAuthMechanism
in interface LinkConfig
getUsername
public String getUsername()
- Specified by:
getUsername
in interface LinkConfig
getPassword
public String getPassword()
- Specified by:
getPassword
in interface LinkConfig
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
close
public void close()
- Specified by:
close
in interface LinkConfig
getCreateTime
public long getCreateTime()
- Specified by:
getCreateTime
in interface ConfiguredObject<LinkConfigType,LinkConfig>
createBridge
public void createBridge(boolean durable,
boolean dynamic,
boolean srcIsQueue,
boolean srcIsLocal,
String src,
String dest,
String key,
String tag,
String excludes)
- Specified by:
createBridge
in interface LinkConfig
opened
public void opened(org.apache.qpid.transport.Connection connection)
- Specified by:
opened
in interface org.apache.qpid.transport.ConnectionListener
exception
public void exception(org.apache.qpid.transport.Connection connection,
org.apache.qpid.transport.ConnectionException exception)
- Specified by:
exception
in interface org.apache.qpid.transport.ConnectionListener
closed
public void closed(org.apache.qpid.transport.Connection connection)
- Specified by:
closed
in interface org.apache.qpid.transport.ConnectionListener
getConfigStore
public ConfigStore getConfigStore()
getFederationTag
public String getFederationTag()
getRemoteFederationTag
public String getRemoteFederationTag()
Licensed to the Apache Software Foundation