org.apache.qpid.server.federation
Class BrokerLink

java.lang.Object
  extended by 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


Nested Class Summary
static class BrokerLink.State
           
 
Constructor Summary
BrokerLink(VirtualHost virtualHost, String transport, String host, int port, String remoteVhost, boolean durable, String authMechanism, String username, String password)
           
 
Method Summary
 void close()
           
 void closed(org.apache.qpid.transport.Connection connection)
           
 void createBridge(boolean durable, boolean dynamic, boolean srcIsQueue, boolean srcIsLocal, String src, String dest, String key, String tag, String excludes)
           
 boolean equals(Object o)
           
 void exception(org.apache.qpid.transport.Connection connection, org.apache.qpid.transport.ConnectionException exception)
           
 String getAuthMechanism()
           
 ConfigStore getConfigStore()
           
 LinkConfigType getConfigType()
           
 long getCreateTime()
           
 String getFederationTag()
           
 String getHost()
           
 UUID getId()
           
 ConfiguredObject getParent()
           
 String getPassword()
           
 int getPort()
           
 String getRemoteFederationTag()
           
 String getRemoteVhost()
           
 String getTransport()
           
 String getUsername()
           
 VirtualHost getVirtualHost()
           
 int hashCode()
           
 boolean isDurable()
           
 void opened(org.apache.qpid.transport.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerLink

public BrokerLink(VirtualHost virtualHost,
                  String transport,
                  String host,
                  int port,
                  String remoteVhost,
                  boolean durable,
                  String authMechanism,
                  String username,
                  String password)
Method Detail

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