|
||||||||||
| 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()
|
boolean |
isSslServer()
For TransportServers that provide SSL connections to their connected peers they should return true here if and only if they populate the ConnectionInfo command presented to the Broker with the peers certificate chain so that the broker knows it can use that information to authenticate the connected peer. |
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()
boolean isSslServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||