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