* 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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
doc | Loading commit data... | |
gcj | Loading commit data... | |
gnu | Loading commit data... | |
include | Loading commit data... | |
java | Loading commit data... | |
javax | Loading commit data... | |
libltdl | Loading commit data... | |
org | Loading commit data... | |
scripts | Loading commit data... | |
sysdep | Loading commit data... | |
testsuite | Loading commit data... | |
COPYING | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog-1999 | Loading commit data... | |
ChangeLog-2001 | Loading commit data... | |
HACKING | Loading commit data... | |
LIBGCJ_LICENSE | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
NEWS | Loading commit data... | |
README | Loading commit data... | |
THANKS | Loading commit data... | |
acconfig.h | Loading commit data... | |
acinclude.m4 | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
addr2name.awk | Loading commit data... | |
boehm.cc | Loading commit data... | |
configure | Loading commit data... | |
configure.host | Loading commit data... | |
configure.in | Loading commit data... | |
defineclass.cc | Loading commit data... | |
exception.cc | Loading commit data... | |
gij.cc | Loading commit data... | |
interpret.cc | Loading commit data... | |
jni.cc | Loading commit data... | |
libgcj-test.spec.in | Loading commit data... | |
libgcj.spec.in | Loading commit data... | |
libtool-version | Loading commit data... | |
mauve-libgcj | Loading commit data... | |
no-threads.cc | Loading commit data... | |
nogc.cc | Loading commit data... | |
posix-threads.cc | Loading commit data... | |
posix.cc | Loading commit data... | |
prims.cc | Loading commit data... | |
resolve.cc | Loading commit data... | |
verify.cc | Loading commit data... | |
win32-threads.cc | Loading commit data... | |
win32.cc | Loading commit data... |