< prev index next >

src/java.base/share/classes/java/net/StandardProtocolFamily.java

Print this page




  24  */
  25 
  26 package java.net;
  27 
  28 /**
  29  * Defines the standard families of communication protocols.
  30  *
  31  * @since 1.7
  32  */
  33 
  34 public enum StandardProtocolFamily implements ProtocolFamily {
  35 
  36     /**
  37      * Internet Protocol Version 4 (IPv4)
  38      */
  39     INET,
  40 
  41     /**
  42      * Internet Protocol Version 6 (IPv6)
  43      */
  44     INET6






  45 }


  24  */
  25 
  26 package java.net;
  27 
  28 /**
  29  * Defines the standard families of communication protocols.
  30  *
  31  * @since 1.7
  32  */
  33 
  34 public enum StandardProtocolFamily implements ProtocolFamily {
  35 
  36     /**
  37      * Internet Protocol Version 4 (IPv4)
  38      */
  39     INET,
  40 
  41     /**
  42      * Internet Protocol Version 6 (IPv6)
  43      */
  44     INET6,
  45 
  46     /**
  47      * Local (Unix domain) interprocess communication.
  48      * @since 16
  49      */
  50     UNIX
  51 }
< prev index next >