gcc/libjava/gnu/java/nio
Michael Koch a4536c7a94 2002-11-29 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/DatagramChannelImpl:
	(fd): New member variable to store file descriptor of socket.
	* gnu/java/nio/SelectionKeyImpl.java:
	(ops): Removed.
	(readyOps): New member variable.
	(interestOps): New member variable.
	(readyOps): Implemented.
	(readyOps): New method to set member variable readyOps.
	(interestOps): Replaced ops by interestOps.
	* gnu/java/nio/SelectorImpl.java:
	(SelectorImpl): Initialize key sets.
	(select): Call select with -1 instead of Long.MAX_VALUE).
	(java_do_select): Make it a native method.
	(getFDsAsArray): New helper method.
	(select): Remove canceled keys, give only interested file discriptors
	to java_do_select, set ready ops.
	(add): No need to initialize keys set here.
	(add_selected): No need to initialize selected set here.
	(deregisterCanceledKeys): New helper method.
	(register): Set interest ops, set attachments, added handling of datagram
	channels.
	* gnu/java/nio/ServerSocketChannelImpl:
	(SocketAccept): Renamed from NioSocketAccept.
	(implConfigureBlocking): Implemented.
	(accept): Use SocketAccept instead of NioSocketAccept.
	* gnu/java/nio/SocketChannelImpl:
	Reactivate native methods.

From-SVN: r59632
2002-11-29 09:57:05 +00:00
..
charset
ByteBufferImpl.java
CharBufferImpl.java
DatagramChannelImpl.java 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 09:57:05 +00:00
DoubleBufferImpl.java
FileChannelImpl.java
FloatBufferImpl.java
IntBufferImpl.java
LongBufferImpl.java
natByteBufferImpl.cc
natCharBufferImpl.cc
natDoubleBufferImpl.cc
natFloatBufferImpl.cc
natIntBufferImpl.cc
natLongBufferImpl.cc
natSelectorImpl.cc
natServerSocketChannelImpl.cc
natShortBufferImpl.cc
natSocketChannelImpl.cc
PipeImpl.java
SelectionKeyImpl.java 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 09:57:05 +00:00
SelectorImpl.java 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 09:57:05 +00:00
SelectorProviderImpl.java
ServerSocketChannelImpl.java 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 09:57:05 +00:00
ShortBufferImpl.java
SocketChannelImpl.java 2002-11-29 Michael Koch <konqueror@gmx.de> 2002-11-29 09:57:05 +00:00