|
||||||||||
| 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 | |
|---|---|
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. |
| 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 - URI getConnectURI()
InetSocketAddress getSocketAddress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||