public static class NGUnixDomainSocketLibrary.SockaddrUn
extends com.sun.jna.Structure
implements com.sun.jna.Structure.ByReference
struct sockaddr_un
to and from native code.Modifier and Type | Class and Description |
---|---|
static class |
NGUnixDomainSocketLibrary.SockaddrUn.SunFamily
On BSD platforms,
sunLenAndFamily will be present. |
static class |
NGUnixDomainSocketLibrary.SockaddrUn.SunLenAndFamily
On BSD platforms, the
sun_len and sun_family values in struct
sockaddr_un . |
Modifier and Type | Field and Description |
---|---|
NGUnixDomainSocketLibrary.SockaddrUn.SunFamily |
sunFamily |
byte[] |
sunPath |
Constructor and Description |
---|
SockaddrUn()
Constructs an empty
struct sockaddr_un . |
SockaddrUn(String path)
Constructs a
struct sockaddr_un with a path whose bytes are encoded using the default
encoding of the platform. |
Modifier and Type | Method and Description |
---|---|
protected List |
getFieldOrder() |
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
public NGUnixDomainSocketLibrary.SockaddrUn.SunFamily sunFamily
public byte[] sunPath
public SockaddrUn()
struct sockaddr_un
.public SockaddrUn(String path) throws IOException
struct sockaddr_un
with a path whose bytes are encoded using the default
encoding of the platform.IOException
protected List getFieldOrder()
getFieldOrder
in class com.sun.jna.Structure
Copyright © 2024. All rights reserved.