Package jnr.posix
Class MacOSCmsgHdr
- java.lang.Object
-
- jnr.posix.BaseCmsgHdr
-
- jnr.posix.MacOSCmsgHdr
-
- All Implemented Interfaces:
CmsgHdr
class MacOSCmsgHdr extends BaseCmsgHdr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSCmsgHdr.Layout
-
Field Summary
Fields Modifier and Type Field Description static MacOSCmsgHdr.Layoutlayout-
Fields inherited from class jnr.posix.BaseCmsgHdr
memory, posix
-
-
Constructor Summary
Constructors Constructor Description MacOSCmsgHdr(NativePOSIX posix, jnr.ffi.Pointer memory)MacOSCmsgHdr(NativePOSIX posix, jnr.ffi.Pointer memory, int totalLen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLen()intgetLevel()intgetType()(package private) voidsetLen(int len)voidsetLevel(int level)voidsetType(int type)java.lang.StringtoString(java.lang.String indent)-
Methods inherited from class jnr.posix.BaseCmsgHdr
getData, setData
-
-
-
-
Field Detail
-
layout
public static final MacOSCmsgHdr.Layout layout
-
-
Constructor Detail
-
MacOSCmsgHdr
public MacOSCmsgHdr(NativePOSIX posix, jnr.ffi.Pointer memory)
-
MacOSCmsgHdr
public MacOSCmsgHdr(NativePOSIX posix, jnr.ffi.Pointer memory, int totalLen)
-
-
Method Detail
-
setLevel
public void setLevel(int level)
-
getLevel
public int getLevel()
-
setType
public void setType(int type)
-
getType
public int getType()
-
getLen
public int getLen()
-
setLen
void setLen(int len)
- Specified by:
setLenin classBaseCmsgHdr
-
toString
public java.lang.String toString(java.lang.String indent)
-
-