public interface TransportServer extends Service
Transport objects and then
delivers those objects to a TransportAcceptListener.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBoundAddress() |
java.lang.String |
getConnectAddress() |
org.fusesource.hawtdispatch.DispatchQueue |
getDispatchQueue()
Returns the dispatch queue used by the transport
|
java.net.InetSocketAddress |
getSocketAddress() |
void |
resume()
resume accepting new transports
|
void |
setAcceptListener(TransportAcceptListener acceptListener)
Registers an
TransportAcceptListener which is notified of accepted
channels. |
void |
setDispatchQueue(org.fusesource.hawtdispatch.DispatchQueue queue)
Sets the dispatch queue used by the transport
|
void |
suspend()
suspend accepting new transports
|
void setAcceptListener(TransportAcceptListener acceptListener)
TransportAcceptListener which is notified of accepted
channels.acceptListener - java.lang.String getBoundAddress()
java.lang.String getConnectAddress()
java.net.InetSocketAddress getSocketAddress()
org.fusesource.hawtdispatch.DispatchQueue getDispatchQueue()
void setDispatchQueue(org.fusesource.hawtdispatch.DispatchQueue queue)
queue - void suspend()
void resume()
Copyright © 2014 Red Hat. All Rights Reserved.