public abstract class TransportServerSupport extends ServiceSupport implements TransportServer
TransportServer
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
transportOptions |
Constructor and Description |
---|
TransportServerSupport() |
TransportServerSupport(java.net.URI location) |
Modifier and Type | Method and Description |
---|---|
TransportAcceptListener |
getAcceptListener() |
java.net.URI |
getBindLocation() |
java.net.URI |
getConnectURI() |
protected void |
onAcceptError(java.lang.Exception e) |
void |
setAcceptListener(TransportAcceptListener acceptListener)
Registers an accept listener
|
void |
setBindLocation(java.net.URI bindLocation) |
void |
setConnectURI(java.net.URI location) |
void |
setTransportOption(java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.Object> transportOptions
public TransportServerSupport()
public TransportServerSupport(java.net.URI location)
public TransportAcceptListener getAcceptListener()
public void setAcceptListener(TransportAcceptListener acceptListener)
setAcceptListener
in interface TransportServer
acceptListener
- public java.net.URI getConnectURI()
getConnectURI
in interface TransportServer
public void setConnectURI(java.net.URI location)
location
- The location to set.protected void onAcceptError(java.lang.Exception e)
public java.net.URI getBindLocation()
public void setBindLocation(java.net.URI bindLocation)
public void setTransportOption(java.util.Map<java.lang.String,java.lang.Object> transportOptions)
Copyright © 2005-2012. All Rights Reserved.