Package io.sisu.nng.internal
Class SockAddr
- java.lang.Object
-
- com.sun.jna.Structure
-
- com.sun.jna.Union
-
- io.sisu.nng.internal.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
-
Field Summary
Fields Modifier and Type Field Description UInt16
s_family
SockAddr.Inet
s_in
SockAddr.Inet6
s_in6
SockAddr.Local
s_inproc
SockAddr.Local
s_ipc
SockAddr.ZeroTier
s_zt
-
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
-
-
-
-
Field Detail
-
s_family
public UInt16 s_family
-
s_ipc
public SockAddr.Local s_ipc
-
s_inproc
public SockAddr.Local s_inproc
-
s_in
public SockAddr.Inet s_in
-
s_in6
public SockAddr.Inet6 s_in6
-
s_zt
public SockAddr.ZeroTier s_zt
-
-
Method Detail
-
readAsIpc
public SockAddr.Local readAsIpc()
-
readAsInproc
public SockAddr.Local readAsInproc()
-
readAsInet
public SockAddr.Inet readAsInet()
-
readAsInet6
public SockAddr.Inet6 readAsInet6()
-
readAsZeroTier
public SockAddr.ZeroTier readAsZeroTier()
-
-