|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.activemq.transport.TransportServerChannelSupport
An abstract base class useful for implementation inheritence
Constructor Summary | |
TransportServerChannelSupport()
|
Method Summary | |
protected void |
addClient(TransportChannel channel)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransportServerChannelSupport()
Method Detail |
public void start() throws JMSException
TransportServerChannel
start
in interface TransportServerChannel
JMSException
- if an error occurspublic void stop()
TransportServerChannel
stop
in interface TransportServerChannel
public void setTransportChannelListener(TransportChannelListener listener)
TransportServerChannel
setTransportChannelListener
in interface TransportServerChannel
listener
- the listener to be invoked when a client connects
or disconnectsprotected void addClient(TransportChannel channel)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |