Package jnr.posix
Class BaseMsgHdr
- java.lang.Object
-
- jnr.posix.BaseMsgHdr
-
-
Field Summary
Fields Modifier and Type Field Description protected jnr.ffi.Pointer
memory
protected NativePOSIX
posix
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseMsgHdr(NativePOSIX posix, jnr.ffi.StructLayout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsgHdr
allocateControl(int dataLength)
CmsgHdr[]
allocateControls(int[] dataLengths)
CmsgHdr[]
getControls()
java.nio.ByteBuffer[]
getIov()
java.lang.String
getName()
void
setIov(java.nio.ByteBuffer[] buffers)
void
setName(java.lang.String name)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jnr.posix.MsgHdr
getControlLen, getFlags, setFlags
-
-
-
-
Field Detail
-
posix
protected final NativePOSIX posix
-
memory
protected final jnr.ffi.Pointer memory
-
-
Constructor Detail
-
BaseMsgHdr
protected BaseMsgHdr(NativePOSIX posix, jnr.ffi.StructLayout layout)
-
-
Method Detail
-
allocateControl
public CmsgHdr allocateControl(int dataLength)
- Specified by:
allocateControl
in interfaceMsgHdr
-
allocateControls
public CmsgHdr[] allocateControls(int[] dataLengths)
- Specified by:
allocateControls
in interfaceMsgHdr
-
getControls
public CmsgHdr[] getControls()
- Specified by:
getControls
in interfaceMsgHdr
-
-