T - the channel typepublic static class ChannelListener.SimpleSetter<T extends Channel> extends Object implements ChannelListener.Setter<T>
ChannelListener.Setter.| Constructor and Description |
|---|
ChannelListener.SimpleSetter() |
| Modifier and Type | Method and Description |
|---|---|
ChannelListener<? super T> |
get()
Get the channel listener set on this setter.
|
void |
set(ChannelListener<? super T> listener)
Set the listener, or
null to ignore the associated event type. |
public void set(ChannelListener<? super T> listener)
null to ignore the associated event type.set in interface ChannelListener.Setter<T extends Channel>listener - the new listenerpublic ChannelListener<? super T> get()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.