public abstract class TransportServerSupport extends ServiceSupport implements TransportServer
TransportServer
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
transportOptions |
Constructor and Description |
---|
TransportServerSupport() |
TransportServerSupport(URI location) |
Modifier and Type | Method and Description |
---|---|
TransportAcceptListener |
getAcceptListener() |
URI |
getBindLocation() |
URI |
getConnectURI() |
protected void |
onAcceptError(Exception e) |
void |
setAcceptListener(TransportAcceptListener acceptListener)
Registers an accept listener
|
void |
setBindLocation(URI bindLocation) |
void |
setConnectURI(URI location) |
void |
setTransportOption(Map<String,Object> transportOptions) |
addServiceListener, dispose, doStart, doStop, isStarted, isStopped, isStopping, removeServiceListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSocketAddress, setBrokerInfo
protected Map<String,Object> transportOptions
public TransportServerSupport()
public TransportServerSupport(URI location)
public TransportAcceptListener getAcceptListener()
public void setAcceptListener(TransportAcceptListener acceptListener)
setAcceptListener
in interface TransportServer
acceptListener
- public URI getConnectURI()
getConnectURI
in interface TransportServer
public void setConnectURI(URI location)
location
- The location to set.protected void onAcceptError(Exception e)
public URI getBindLocation()
public void setBindLocation(URI bindLocation)
public void setTransportOption(Map<String,Object> transportOptions)
Copyright © 2005–2016. All rights reserved.