jnr.posix
Class BaseMsgHdr
java.lang.Object
jnr.posix.BaseMsgHdr
- All Implemented Interfaces:
- MsgHdr
public abstract class BaseMsgHdr
- extends Object
- implements MsgHdr
- Author:
- Bob McWhirter
Field Summary |
protected jnr.ffi.Pointer |
memory
|
protected jnr.posix.NativePOSIX |
posix
|
Constructor Summary |
protected |
BaseMsgHdr(jnr.posix.NativePOSIX posix,
jnr.ffi.StructLayout layout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
posix
protected final jnr.posix.NativePOSIX posix
memory
protected final jnr.ffi.Pointer memory
BaseMsgHdr
protected BaseMsgHdr(jnr.posix.NativePOSIX posix,
jnr.ffi.StructLayout layout)
setName
public void setName(String name)
- Specified by:
setName
in interface MsgHdr
getName
public String getName()
- Specified by:
getName
in interface MsgHdr
allocateControl
public CmsgHdr allocateControl(int dataLength)
- Specified by:
allocateControl
in interface MsgHdr
allocateControls
public CmsgHdr[] allocateControls(int[] dataLengths)
- Specified by:
allocateControls
in interface MsgHdr
getControls
public CmsgHdr[] getControls()
- Specified by:
getControls
in interface MsgHdr
setIov
public void setIov(ByteBuffer[] buffers)
- Specified by:
setIov
in interface MsgHdr
getIov
public ByteBuffer[] getIov()
- Specified by:
getIov
in interface MsgHdr
Copyright © 2014. All Rights Reserved.