diff options
author | jfrijters <jfrijters> | 2007-07-18 19:35:29 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2007-07-18 19:35:29 +0400 |
commit | 58db69b8745ca21426163eb7570f24a5be04fdf2 (patch) | |
tree | 38143144f401154cc09296ad0094bd89873e5818 /openjdk/sun/nio/ch/SelectionKeyImpl.java | |
parent | faef699b6efa706108787f0532216a4baf3763d6 (diff) |
Implemented ServerSocketChannelImpl.
Diffstat (limited to 'openjdk/sun/nio/ch/SelectionKeyImpl.java')
-rw-r--r-- | openjdk/sun/nio/ch/SelectionKeyImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openjdk/sun/nio/ch/SelectionKeyImpl.java b/openjdk/sun/nio/ch/SelectionKeyImpl.java index b9a9c73b..b5167968 100644 --- a/openjdk/sun/nio/ch/SelectionKeyImpl.java +++ b/openjdk/sun/nio/ch/SelectionKeyImpl.java @@ -46,6 +46,10 @@ final class SelectionKeyImpl extends AbstractSelectionKey { socket = ((SocketChannelImpl)ch).getSocket(); } + else if (ch instanceof ServerSocketChannelImpl) + { + socket = ((ServerSocketChannelImpl)ch).getSocket(); + } else { // TODO |