SelectorImpl.java (register): Use ServerSocketChannelSelectionKey for server socket...
authorMichael Koch <konqueror@gmx.de>
Thu, 9 Oct 2003 18:01:08 +0000 (18:01 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 9 Oct 2003 18:01:08 +0000 (18:01 +0000)
commit137f5e8417ffa8ce2160bce1d45ce3b54ed16add
tree5eb89b9d4b6823133af7a8e54c008a6ed38522c8
parent4e3cb200a543c0a52b4a8ec8f1a1518bfcb08ce2
SelectorImpl.java (register): Use ServerSocketChannelSelectionKey for server socket channels...

2003-10-09  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/SelectorImpl.java (register):
Use ServerSocketChannelSelectionKey for server socket channels,
removed unneeded comments.
* gnu/java/nio/ServerSocketChannelImpl.java
(ServerSocketChannelImpl): Made class public final.
(impl): New member variable.
(ServerSocketChannelImpl): Initialize member variables correctly.
(initServerSocket): New method.
(getNativeFD): Likewise.
* gnu/java/nio/ServerSocketChannelSelectionKey.java,
gnu/java/nio/natServerSocketChannelImpl.cc: New files.
* Makefile.am (ordinary_java_source_files):
Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
(nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
* Makefile.in: Regenrated.

From-SVN: r72277
libjava/ChangeLog
libjava/Makefile.am
libjava/Makefile.in
libjava/gnu/java/nio/SelectorImpl.java
libjava/gnu/java/nio/ServerSocketChannelImpl.java
libjava/gnu/java/nio/ServerSocketChannelSelectionKey.java [new file with mode: 0644]
libjava/gnu/java/nio/natServerSocketChannelImpl.cc [new file with mode: 0644]