2003-09-25 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/DatagramChannelImpl.java (getNativeFD): New method. * gnu/java/nio/SelectionKeyImpl.java (SelectionKeyImpl): Class made abstract. (fd): Removed. (SelectionKeyImpl): Remove fd argument. (getNativeFD): New method. * gnu/java/nio/SocketChannelImpl.java (getNativeFD): New method. gnu/java/nio/DatagramChannelSelectionKey.java, * gnu/java/nio/SocketChannelSelectionKey.java: New files. * Makefile.am (ordinary_java_source_files): Added new files gnu/java/nio/DatagramChannelSelectionKey.java and gnu/java/nio/SocketChannelSelectionKey.java. * Makefile.in: Regenerated. From-SVN: r71797
This commit is contained in:
parent
73a1415eb4
commit
1bfb64ff9a
8 changed files with 154 additions and 4 deletions
|
@ -98,6 +98,11 @@ public final class SocketChannelImpl extends SocketChannel
|
|||
}
|
||||
}
|
||||
|
||||
int getNativeFD()
|
||||
{
|
||||
return socket.getImpl().getNativeFD();
|
||||
}
|
||||
|
||||
protected void implCloseSelectableChannel () throws IOException
|
||||
{
|
||||
connected = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue