org.norther.tammi.acorn.nio
Interface AdaptableChannel
- All Superinterfaces:
- Channel, Closeable
- All Known Implementing Classes:
- SSLServerSocketChannel, SSLSocketChannel
public interface AdaptableChannel
- extends Channel
An interface to adaptable channels. Adaptable channels may add new
functionality, such as SSL support, to other adaptee channels that they adapt
to. As selectors accept channel implementations from the selector provider
only, registration to as selector must typically be done with the adaptee
channel, even if the adaptable one extends SelectableChannel
.
- Version:
- $Id: AdaptableChannel.java,v 1.5 2009/09/28 15:08:50 cvsimp Exp $
- Author:
- Ilkka Priha
getAdapteeChannel
Channel getAdapteeChannel()
- Gets the adaptee of this adaptable channel.
- Returns:
- the adaptee channel.
Copyright © 2004 The Norther Organization. All rights reserved.