org.apache.activemq.proxy
Class ProxyConnector

java.lang.Object
  extended by org.apache.activemq.proxy.ProxyConnector
All Implemented Interfaces:
Service

public class ProxyConnector
extends Object
implements Service


Constructor Summary
ProxyConnector()
           
 
Method Summary
protected  TransportServer createServer()
           
 URI getBind()
           
 URI getLocalUri()
           
 String getName()
           
 URI getRemote()
           
 TransportServer getServer()
           
 boolean isProxyToLocalBroker()
           
 void setBind(URI bind)
           
 void setLocalUri(URI localURI)
           
 void setName(String name)
           
 void setProxyToLocalBroker(boolean proxyToLocalBroker)
           
 void setRemote(URI remote)
           
 void setServer(TransportServer server)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyConnector

public ProxyConnector()
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

getLocalUri

public URI getLocalUri()

setLocalUri

public void setLocalUri(URI localURI)

getBind

public URI getBind()

setBind

public void setBind(URI bind)

getRemote

public URI getRemote()

setRemote

public void setRemote(URI remote)

getServer

public TransportServer getServer()
                          throws IOException,
                                 URISyntaxException
Throws:
IOException
URISyntaxException

setServer

public void setServer(TransportServer server)

createServer

protected TransportServer createServer()
                                throws IOException,
                                       URISyntaxException
Throws:
IOException
URISyntaxException

getName

public String getName()

setName

public void setName(String name)

isProxyToLocalBroker

public boolean isProxyToLocalBroker()

setProxyToLocalBroker

public void setProxyToLocalBroker(boolean proxyToLocalBroker)


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