|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.core.messenger.ChannelListenerAcceptor
A ChannelHandler that accepts a single Channel and
binds a ChannelListener to it.
Channel,
ChannelListener,
Connection.accept(String, ChannelListener)| Constructor Summary | |
ChannelListenerAcceptor(Connection connection,
java.lang.String name,
ChannelListener listener)
Construct a new ChannelListenerAcceptor |
|
| Method Summary | |
void |
opened(Channel channel)
Handle a new channel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChannelListenerAcceptor(Connection connection,
java.lang.String name,
ChannelListener listener)
ChannelListenerAcceptor
connection - the owning connectionname - the channel namelistener - the channel listener
java.lang.IllegalArgumentException - if any argument is null| Method Detail |
public void opened(Channel channel)
This implementation binds the listener to the channel, and prevents any more channels from being opened.
opened in interface ChannelHandlerchannel - the new channel
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||