< prev index next >

src/java.base/windows/native/libnet/ExtendedOptionsImpl.c

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -61,5 +61,26 @@
 JNIEXPORT jboolean JNICALL Java_sun_net_ExtendedOptionsImpl_flowSupported
   (JNIEnv *env, jclass UNUSED)
 {
     return JNI_FALSE;
 }
+
+JNIEXPORT void JNICALL Java_sun_net_ExtendedOptionsImpl_setQuickAckOption
+  (JNIEnv *env, jclass UNUSED, jobject fileDesc, jboolean on)
+{
+    JNU_ThrowByName(env, "java/lang/UnsupportedOperationException",
+        "unsupported socket option");
+}
+
+JNIEXPORT jboolean JNICALL Java_sun_net_ExtendedOptionsImpl_getQuickAckOption
+  (JNIEnv *env, jclass UNUSED, jobject fileDesc)
+{
+    JNU_ThrowByName(env, "java/lang/UnsupportedOperationException",
+        "unsupported socket option");
+    return JNI_FALSE;
+}
+
+JNIEXPORT jboolean JNICALL Java_sun_net_ExtendedOptionsImpl_isQuickAckAvailable0
+  (JNIEnv *env, jclass UNUSED)
+{
+    return JNI_FALSE;
+}
< prev index next >