summaryrefslogtreecommitdiff
path: root/java/nio/channels/SelectionKey.java
Commit message (Collapse)AuthorAgeFilesLines
* PR libgcj/23682:Tom Tromey2006-07-311-3/+3
| | | | | | | | | | | | | | * java/nio/channels/SelectionKey.java (attach): Now synchronized. (attachment): Likewise. * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now synchronized. (isValid): Likewise. * gnu/java/nio/SelectionKeyImpl.java (impl): Now final (ch): Likewise. (interestOps): Synchronize. (readyOps): Likewise. * gnu/java/nio/SelectorImpl.java (register): Synchronize around interestOps call.
* * all files: Update for new FSF address.Mark Wielaard2005-07-021-2/+2
|
* 2004-04-08 Michael Koch <konqueror@gmx.de>Michael Koch2004-04-081-42/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | , * java/nio/Buffer.java, java/nio/ByteBufferImpl.java, java/nio/CharBufferImpl.java, java/nio/DoubleBufferImpl.java, java/nio/DoubleViewBufferImpl.java, java/nio/FloatBufferImpl.java, java/nio/FloatViewBufferImpl.java, java/nio/IntBufferImpl.java, java/nio/IntViewBufferImpl.java, java/nio/LongBufferImpl.java, java/nio/LongViewBufferImpl.java, java/nio/ShortBufferImpl.java, java/nio/ShortViewBufferImpl.java, java/nio/channels/AlreadyConnectedException.java, java/nio/channels/AsynchronousCloseException.java, java/nio/channels/ByteChannel.java, java/nio/channels/CancelledKeyException.java, java/nio/channels/Channel.java, java/nio/channels/ClosedByInterruptException.java, java/nio/channels/ClosedChannelException.java, java/nio/channels/ClosedSelectorException.java, java/nio/channels/ConnectionPendingException.java, java/nio/channels/FileLockInterruptionException.java, java/nio/channels/GatheringByteChannel.java, java/nio/channels/IllegalBlockingModeException.java, java/nio/channels/IllegalSelectorException.java, java/nio/channels/InterruptibleChannel.java, java/nio/channels/NoConnectionPendingException.java, java/nio/channels/NonReadableChannelException.java, java/nio/channels/NonWritableChannelException.java, java/nio/channels/NotYetBoundException.java, java/nio/channels/NotYetConnectedException.java, java/nio/channels/OverlappingFileLockException.java, java/nio/channels/ReadableByteChannel.java, java/nio/channels/ScatteringByteChannel.java, java/nio/channels/SelectableChannel.java, java/nio/channels/SelectionKey.java, java/nio/channels/Selector.java, java/nio/channels/UnresolvedAddressException.java, java/nio/channels/UnsupportedAddressTypeException.java, java/nio/channels/WritableByteChannel.java, java/nio/charset/spi/CharsetProvider.java: Reworked coding style and javadocs.
* 2002-12-21 Michael Koch <konqueror@gmx.de>Michael Koch2002-12-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be public. * java/net/ServerSocket.java (closed): New member variable. (bind): Throw exception if socket is closed. (close): Set new member variable, close associated channel too. (isClosed): New method. * java/net/Socket.java (closed): New member variable. (bind): Throw exception if socket is closed. (connect): Throw exception if socket is closed. (close): Set new member variable, close associated channel too. (isClosed): New method. * java/nio/channels/DatagramChannel.java (connect): Added throws IOException. (disconnect): Added throws IOException. (read): Added throws IOException. (write): Added throws IOException. (receive): Added throws IOException. * java/nio/channels/Pipe.java (open): Added throws IOException. * java/nio/channels/SelectableChannel.java (configureBlocking): Added throws IOException. * java/nio/channels/SelectionKey.java (OP_ACCEPT): Fix constant value. (OP_CONNECT): Fix constant value. (OP_READ): Fix constant value. (OP_WRITE): Fix constant value. * java/nio/channels/ServerSocketChannel.java (accept): Added throws IOException. * java/nio/channels/SocketChannel.java (SocketChannel): Fixed implements. (read): Added throws IOException. (write): Added throws IOException. (finishConnect): Added throws IOException. * java/nio/channels/spi/AbstractInterruptibleChannel.java (end): Added throws AsynchronousCloseException. * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Added throws IOException. (implCloseChannel): Added throws IOException. (implCloseSelectableChannel): Added throws IOException. (implConfigureBlocking): Added throws IOException. * java/nio/channels/spi/SelectorProvider.java (openDatagramChannel): Added throws IOException. (openPipe): Added throws IOException. (openSelector): Added throws IOException. (openServerSocketChannel): Added throws IOException. (openSocketChannel): Added throws IOException. (provider): Merge with libgcj.
* 2002-11-13 Michael Koch <konqueror@gmx.de>Michael Koch2002-11-131-22/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog.usermap: Added myself. * java/nio/channels/Pipe.java (SinkChannel.SinkChannel): Documentation added. (SinkChannel.validOps): New method. (SourceChannel.SourceChannel): Documentation added. (SourceChannek.validOps): New method. (open): Implemented, documentation added. (SinkChannel.sink): Documentation added. (SourceChannel.source): Documentation added. * java/nio/channels/SelectableChannel.java (SelectableChannel): Documentation added. (blockingLock): Documentation added. (configureBlocking): Documentation added. (isBlocking): Documentation added. (isRegistered): Documentation added. (keyFor): Documentation added. (provider): Documentation added. (register): Documentation added. (validOps): Documentation added. * java/nio/channels/SelectionKey.java (SelectionKey): Documentation added. (attach): Documentation added. (attachment): Documentation added. (isAcceptable): Documentation added. (isConnectable): Documentation added. (isReadable): Documentation added. (isWritable): Documentation added. (cancel): Documentation added. (interestOps): Documentation added. (isValid): Documentation added. (readyOps): Documentation added. (selector): Documentation added. * java/nio/channels/Selector.java (Selector): Documentation added. (open): Documentation added. (close): Documentation added. (isOpen): Documentation added. (keys): Documentation added. (provider): Documentation added. (select): Documentation added. (selectedKeys): Documentation added. (selectNow): Documentation added. (wakeup): Documentation added. * java/nio/channels/spi/AbstractInterruptibleChannel.java (opened): Default to true. (AbstractInterruptibleChannel): Documentation added. (begin): Documentation added. (close): Set opened, Documentation added. (end): Documentation added. (implCloseChannel): Documentation added. (isOpen): Documentation added. * java/nio/channels/spi/AbstractSelectableChannel.java (AbstractSelectableChannel): Documentation added. (blockingLock): Documentation added. (configureBlocking): Documentation added. (implCloseChannel): Documentation added. (implCloseSelectableChannel): Documentation added. (implConfigureBlocking): Documentation added. (isBlocking): Documentation added. (isRegistered): Documentation added. (keyFor): Documentation added. (provider): Documentation added. (register): Documentation added. * java/nio/channels/spi/AbstractSelectionKey.java (AbstractSelectionKey): Documentation added. (cancel): Documentation added. (isValid): Documentation added. * java/nio/channels/spi/AbstractSelector.java (closed): Default to false. (AbstractSelector): Documentation added. (begin): Documentation added. (close): Documentation added. (isOpen): Documentation added. (implCloseSelector): Documentation added.
* 2002-11-11 Michael Koch <konqueror@gmx.de>Michael Koch2002-11-111-44/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/FileChannelImpl.java (isOpen): Removed. * gnu/java/nio/SelectorImpl.java (cancelledKeys): Removed. * java/nio/MappedByteBuffer.java (force): Must be final. (isLoaded): Must be final. (load): Must be final. * java/nio/channels/DatagramChannel.java: (DatagramChannel): Call parent constructor. (read): Must be final. (write): New method. (validOps): Must be final. * java/nio/channels/Pipe.java: Reindented. * java/nio/channels/SelectableChannel.java: Reindented. * java/nio/channels/SelectionKey.java: Reindented. * java/nio/channels/Selector.java: Reindented. * java/nio/channels/ServerSocketChannel.java (ServerSocketChannel): Call parent constructor. * java/nio/channels/SocketChannel.java (SocketChannel): Call parent constructor. * java/nio/channels/spi/AbstractChannel.java: Removed inexistant class. * java/nio/channels/spi/AbstractInterruptibleChannel.java: Reindented. * java/nio/channels/spi/AbstractSelectableChannel.java: Reindented. (AbstractSelectableChannel): New method. * java/nio/channels/spi/AbstractSelector.java: Reindented. * java/nio/channels/spi/Makefile.am: Removed AbstractChannel.java.
* Add copyright notices.Mark Wielaard2002-04-301-0/+37
|
* * Removes dependencies on manta; javax.swing,Ronald Veldema2002-03-121-20/+19
| | | | gnu.java.nio and java.nio now compile with jikes;
* java.nio implementation.Ronald Veldema2002-03-111-0/+56
Not integrated into makefiles etc though so nobody should notice its addition. R.