public class WrapperChannel<T extends Channel> extends Object implements Channel
| Constructor and Description |
|---|
WrapperChannel(T wrappedChannel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Delegates to the wrapped channel.
|
protected T |
getWrappedChannel()
Returns the wrapped channel.
|
boolean |
isOpen()
Delegates to the wrapped channel.
|
public WrapperChannel(T wrappedChannel)
wrappedChannel - The wrapped channel.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionprotected T getWrappedChannel()
Copyright © 2005–2016. All rights reserved.