Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2011-08-18 16:06:22 +0400
committerjfrijters <jfrijters>2011-08-18 16:06:22 +0400
commit4eef39b7c507d518eeb80fc570453e3682d6268d (patch)
tree94255f12ba2c3383dc0823ed22c88d6d5f67d6fb /openjdk/sun/nio/ch/FileDispatcherImpl.java
parent05be269edcd34db64d7cfdcdfc85f62854109ba3 (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.java17
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;