org.jboss.xnio
Interface ChannelListener<T extends java.nio.channels.Channel>
- Type Parameters:
T
- the channel type
public interface ChannelListener<T extends java.nio.channels.Channel>
A listener for channel events. Possible channel events include: channel readable, channel writable, channel
opened, channel closed, channel bound, channel unbound.
- Since:
- 2.0
Nested Class Summary |
static interface |
ChannelListener.Setter<T extends java.nio.channels.Channel>
A setter for a channel listener. |
Method Summary |
void |
handleEvent(T channel)
Handle the event on this channel. |
handleEvent
void handleEvent(T channel)
- Handle the event on this channel.
- Parameters:
channel
- the channel event
Copyright © 2009 JBoss, a division of Red Hat, Inc.