jdk/src/java.base/share/classes/jdk/net/SocketFlow.java
changeset 34894 3248b89d1921
parent 25859 3317bb8137f4
equal deleted inserted replaced
34893:71fe40b51c50 34894:3248b89d1921
    43  * When a security manager is installed, a {@link NetworkPermission}
    43  * When a security manager is installed, a {@link NetworkPermission}
    44  * is required to set or get this option.
    44  * is required to set or get this option.
    45  *
    45  *
    46  * @since 1.8
    46  * @since 1.8
    47  */
    47  */
    48 @jdk.Exported
       
    49 public class SocketFlow {
    48 public class SocketFlow {
    50 
    49 
    51     private static final int UNSET = -1;
    50     private static final int UNSET = -1;
    52     @Native public static final int NORMAL_PRIORITY = 1;
    51     @Native public static final int NORMAL_PRIORITY = 1;
    53     @Native public static final int HIGH_PRIORITY = 2;
    52     @Native public static final int HIGH_PRIORITY = 2;
    66      * one of these statuses, which reflect the state of socket's
    65      * one of these statuses, which reflect the state of socket's
    67      * flow.
    66      * flow.
    68      *
    67      *
    69      * @since 1.8
    68      * @since 1.8
    70      */
    69      */
    71     @jdk.Exported
       
    72     public enum Status {
    70     public enum Status {
    73         /**
    71         /**
    74          * Set or get socket option has not been called yet. Status
    72          * Set or get socket option has not been called yet. Status
    75          * values can only be retrieved after calling set or get.
    73          * values can only be retrieved after calling set or get.
    76          */
    74          */