public class VMTransportServer extends Object implements org.apache.activemq.transport.TransportServer
| Constructor and Description |
|---|
VMTransportServer(URI location,
boolean disposeOnDisconnect) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.activemq.transport.Transport |
configure(org.apache.activemq.transport.Transport transport)
Configure transport
|
VMTransport |
connect() |
URI |
getBindURI() |
int |
getConnectionCount() |
URI |
getConnectURI() |
InetSocketAddress |
getSocketAddress() |
boolean |
isAllowLinkStealing() |
boolean |
isSslServer() |
void |
setAcceptListener(org.apache.activemq.transport.TransportAcceptListener acceptListener)
Set the Transport accept listener for new Connections
|
void |
setAllowLinkStealing(boolean allowLinkStealing) |
void |
setBrokerInfo(org.apache.activemq.command.BrokerInfo brokerInfo) |
void |
start() |
void |
stop() |
String |
toString() |
public VMTransportServer(URI location, boolean disposeOnDisconnect)
location - disposeOnDisconnect - public VMTransport connect() throws IOException
IOExceptionpublic static org.apache.activemq.transport.Transport configure(org.apache.activemq.transport.Transport transport)
transport - public void setAcceptListener(org.apache.activemq.transport.TransportAcceptListener acceptListener)
setAcceptListener in interface org.apache.activemq.transport.TransportServeracceptListener - public void start() throws IOException
start in interface org.apache.activemq.ServiceIOExceptionpublic void stop() throws IOException
stop in interface org.apache.activemq.ServiceIOExceptionpublic URI getConnectURI()
getConnectURI in interface org.apache.activemq.transport.TransportServerpublic URI getBindURI()
public void setBrokerInfo(org.apache.activemq.command.BrokerInfo brokerInfo)
setBrokerInfo in interface org.apache.activemq.transport.TransportServerpublic InetSocketAddress getSocketAddress()
getSocketAddress in interface org.apache.activemq.transport.TransportServerpublic int getConnectionCount()
public boolean isSslServer()
isSslServer in interface org.apache.activemq.transport.TransportServerpublic boolean isAllowLinkStealing()
isAllowLinkStealing in interface org.apache.activemq.transport.TransportServerpublic void setAllowLinkStealing(boolean allowLinkStealing)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.