public interface TransportServer extends Service
Transport
objects and then
delivers those objects to a TransportAcceptListener
.Modifier and Type | Method and Description |
---|---|
URI |
getConnectURI() |
InetSocketAddress |
getSocketAddress() |
void |
setAcceptListener(TransportAcceptListener acceptListener)
Registers an
TransportAcceptListener which is notified of accepted
channels. |
void |
setBrokerInfo(BrokerInfo brokerInfo)
Associates a broker info with the transport server so that the transport
can do discovery advertisements of the broker.
|
void setAcceptListener(TransportAcceptListener acceptListener)
TransportAcceptListener
which is notified of accepted
channels.acceptListener
- void setBrokerInfo(BrokerInfo brokerInfo)
brokerInfo
- URI getConnectURI()
InetSocketAddress getSocketAddress()
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.