|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportServerChannel
Represents a Server which accepts incoming client connections in the form of TransportChannels which is used inside the JMS Broker
Method Summary | |
---|---|
InetSocketAddress |
getSocketAddress()
An optional method to return the socket address if there is one on which this channel is listening. |
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 |
---|
void stop() throws JMSException
stop
in interface Service
JMSException
void start() throws JMSException
start
in interface Service
JMSException
- if an error occursvoid setTransportChannelListener(TransportChannelListener listener)
listener
- the listener to be invoked when a client connects
or disconnectsString getUrl()
InetSocketAddress getSocketAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |