Code example for ByteChannel

Methods: close

0
		return channel.isOpen();
	} 
 
	@Override 
	public void close() throws IOException {
		channel.close();
	} 
 
	@Override 
	public int write( ByteBuffer src ) throws IOException {
		return channel.write( src );
	} 
 
	@Override 
	public boolean isNeedWrite() { 
		return channel instanceof WrappedByteChannel ? ( (WrappedByteChannel) channel ).isNeedWrite() : false;
	} 
 
	@Override 
	public void writeMore() throws IOException {