diff options
author | jfrijters <jfrijters> | 2011-08-18 16:06:22 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-08-18 16:06:22 +0400 |
commit | 4eef39b7c507d518eeb80fc570453e3682d6268d (patch) | |
tree | 94255f12ba2c3383dc0823ed22c88d6d5f67d6fb /openjdk/sun/nio/ch/FileDispatcherImpl.java | |
parent | 05be269edcd34db64d7cfdcdfc85f62854109ba3 (diff) |
Indirect socket read/write operations via the NativeDispatcher.
Diffstat (limited to 'openjdk/sun/nio/ch/FileDispatcherImpl.java')
-rw-r--r-- | openjdk/sun/nio/ch/FileDispatcherImpl.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/openjdk/sun/nio/ch/FileDispatcherImpl.java b/openjdk/sun/nio/ch/FileDispatcherImpl.java index 20842d72..1391e474 100644 --- a/openjdk/sun/nio/ch/FileDispatcherImpl.java +++ b/openjdk/sun/nio/ch/FileDispatcherImpl.java @@ -26,6 +26,7 @@ package sun.nio.ch; import java.io.*; +import java.nio.ByteBuffer; import cli.Microsoft.Win32.SafeHandles.SafeFileHandle; import cli.System.IntPtr; import cli.System.IO.FileStream; @@ -51,6 +52,22 @@ class FileDispatcherImpl extends FileDispatcher this(false); } + int read(FileDescriptor fd, byte[] buf, int offset, int length) throws IOException { + throw new NotYetImplementedError(); + } + + int write(FileDescriptor fd, byte[] buf, int offset, int length) throws IOException { + throw new NotYetImplementedError(); + } + + long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length) throws IOException { + throw new NotYetImplementedError(); + } + + long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length) throws IOException { + throw new NotYetImplementedError(); + } + int force(FileDescriptor fd, boolean metaData) throws IOException { fd.sync(); return 0; |