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 Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
protected T getWrappedChannel()
Copyright © 2005–2013. All rights reserved.