Class SockAddr


  • public class SockAddr
    extends com.sun.jna.Union
    Socket Address Union TODO: fix this Uint16 convert nonsense...seems like we should need to use this goofy logic if things are working.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SockAddr.Family  
      static class  SockAddr.Inet  
      static class  SockAddr.Inet6  
      static class  SockAddr.Local  
      static class  SockAddr.ZeroTier  
      • Nested classes/interfaces inherited from class com.sun.jna.Structure

        com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
    • Constructor Summary

      Constructors 
      Constructor Description
      SockAddr()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SockAddr.Inet readAsInet()  
      SockAddr.Inet6 readAsInet6()  
      SockAddr.Local readAsInproc()  
      SockAddr.Local readAsIpc()  
      SockAddr.ZeroTier readAsZeroTier()  
      • Methods inherited from class com.sun.jna.Union

        getFieldOrder, getNativeAlignment, getTypedValue, readField, readField, setType, setType, setTypedValue, writeField, writeField, writeField
      • 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, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait