Class sun_sockaddr_in6


  • public class sun_sockaddr_in6
    extends com.sun.jna.Structure
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.jna.Structure

        com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.StructField
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      InetAddress getAddress()  
      protected List<String> getFieldOrder()  
      int getPort()  
      void setAddress​(InetAddress address)  
      void setPort​(int port)  
      • Methods inherited from class com.sun.jna.Structure

        allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
    • Field Detail

      • sin6_family

        public short sin6_family
      • sin6_port

        public byte[] sin6_port
      • sin6_flowinfo

        public byte[] sin6_flowinfo
      • sin6_addr

        public byte[] sin6_addr
      • sin6_scope_id

        public byte[] sin6_scope_id
      • __sin6_src_id

        public byte[] __sin6_src_id
    • Constructor Detail

      • sun_sockaddr_in6

        public sun_sockaddr_in6​(int family,
                                byte[] addr,
                                byte[] port)
      • sun_sockaddr_in6

        public sun_sockaddr_in6()
      • sun_sockaddr_in6

        public sun_sockaddr_in6​(InetAddress address,
                                int port)
      • sun_sockaddr_in6

        public sun_sockaddr_in6​(int port)
    • Method Detail

      • getFieldOrder

        protected List<String> getFieldOrder()
        Specified by:
        getFieldOrder in class com.sun.jna.Structure
      • setAddress

        public void setAddress​(InetAddress address)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)