T
- the channel typepublic static class ChannelListener.SimpleSetter<T extends Channel> extends Object implements ChannelListener.Setter<T>
ChannelListener.Setter
.Constructor and Description |
---|
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. |
String |
toString() |
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 © 2017 JBoss by Red Hat. All rights reserved.