|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a Server which accepts incoming client connections in the form of TransportChannels which is used inside the JMS Broker
Method Summary | |
String |
getUrl()
Returns the URL to connect to this connector |
void |
setTransportChannelListener(TransportChannelListener listener)
Registers the listener to be used when new clients connect or disconnect |
void |
start()
start listeneing for events |
void |
stop()
close the ServerChannel |
Method Detail |
public void stop() throws JMSException
stop
in interface Service
JMSException
public void start() throws JMSException
start
in interface Service
JMSException
- if an error occurspublic void setTransportChannelListener(TransportChannelListener listener)
listener
- the listener to be invoked when a client connects
or disconnectspublic String getUrl()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |