|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportServer
A TransportServer asynchronously accepts Transport
objects and then
delivers those objects to a TransportAcceptListener
.
Method Summary | |
---|---|
java.net.URI |
getConnectURI()
|
java.net.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. |
Methods inherited from interface org.apache.activemq.Service |
---|
start, stop |
Method Detail |
---|
void setAcceptListener(TransportAcceptListener acceptListener)
TransportAcceptListener
which is notified of accepted
channels.
acceptListener
- void setBrokerInfo(BrokerInfo brokerInfo)
brokerInfo
- java.net.URI getConnectURI()
java.net.InetSocketAddress getSocketAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |