Class Sockets.SockAddr
- java.lang.Object
-
- com.sun.jna.Structure
-
- org.eclipse.jgit.internal.transport.sshd.agent.connector.Sockets.SockAddr
-
- Enclosing class:
- Sockets
@FieldOrder({"sa_family","sa_data"}) public static class Sockets.SockAddr extends com.sun.jna.Structure
Very simple representation of the C SockAddr type.
-
-
Constructor Summary
Constructors Constructor Description SockAddr(String path, Charset encoding)
Creates a newSockets.SockAddr
for the givenpath
.
-
Method Summary
-
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, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Constructor Detail
-
SockAddr
public SockAddr(String path, Charset encoding)
Creates a newSockets.SockAddr
for the givenpath
.- Parameters:
path
- for the Socketencoding
- to use to decode thepath
to a byte sequence
-
-