- java.lang.Object
-
- jnr.posix.BaseMsgHdr
-
-
Field Summary
Fields Modifier and Type Field Description protected jnr.ffi.Pointermemoryprotected NativePOSIXposix
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseMsgHdr(NativePOSIX posix, jnr.ffi.StructLayout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsgHdrallocateControl(int dataLength)CmsgHdr[]allocateControls(int[] dataLengths)CmsgHdr[]getControls()ByteBuffer[]getIov()StringgetName()voidsetIov(ByteBuffer[] buffers)voidsetName(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:
allocateControlin interfaceMsgHdr
-
allocateControls
public CmsgHdr[] allocateControls(int[] dataLengths)
- Specified by:
allocateControlsin interfaceMsgHdr
-
getControls
public CmsgHdr[] getControls()
- Specified by:
getControlsin interfaceMsgHdr
-
setIov
public void setIov(ByteBuffer[] buffers)
-
getIov
public ByteBuffer[] getIov()
-
-