aicas logoJamaica 3.2 release 62

java.nio.channels
Interface Channel

All Known Subinterfaces:
ByteChannel, GatheringByteChannel, InterruptibleChannel, ReadableByteChannel, ScatteringByteChannel, WritableByteChannel
All Known Implementing Classes:
AbstractInterruptibleChannel, AbstractSelectableChannel, DatagramChannel, FileChannel, Pipe.SinkChannel, Pipe.SourceChannel, SelectableChannel, ServerSocketChannel, SocketChannel

public interface Channel


Method Summary
 void close()
          Closes this channel
 boolean isOpen()
          Tells whether this channel is open or not
 

Method Detail

isOpen

boolean isOpen()
Tells whether this channel is open or not

Returns:
trueif channel is open, false otherwise

close

void close()
           throws IOException
Closes this channel

Throws:
IOException - If an error occurs

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.