Top Inners Fields Constructors Methods
jnr.posix

public Class BaseIovec

extends Object
implements Iovec
Class Inheritance
All Implemented Interfaces
jnr.posix.Iovec
Imports
jnr.ffi.Runtime, .Memory, .Pointer, .StructLayout, java.nio.ByteBuffer

Author
Bob McWhirter

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final BaseIovec.Layout
protected final Pointer
private final NativePOSIX

Constructor Summary

AccessConstructor and Description
protected
pack-priv
BaseIovec(NativePOSIX posix, Pointer memory)

Method Summary

Modifier and TypeMethod and Description
public ByteBuffer
get()

Implements jnr.posix.Iovec.get.

protected int
public void
protected void
setLen(int len)

public String
toString(String indent)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

layoutback to summary
public static final BaseIovec.Layout layout
memoryback to summary
protected final Pointer memory
posixback to summary
private final NativePOSIX posix

Constructor Detail

BaseIovecback to summary
protected BaseIovec(NativePOSIX posix)
BaseIovecback to summary
pack-priv BaseIovec(NativePOSIX posix, Pointer memory)

Method Detail

getback to summary
public ByteBuffer get()

Implements jnr.posix.Iovec.get.

getLenback to summary
protected int getLen()
setback to summary
public void set(ByteBuffer buf)

Implements jnr.posix.Iovec.set.

setLenback to summary
protected void setLen(int len)
toStringback to summary
public String toString(String indent)
jnr.posix back to summary

public Class BaseIovec.Layout

extends StructLayout
Class Inheritance

Field Summary

Modifier and TypeField and Description
public final StructLayout.Pointer
public final StructLayout.size_t

Constructor Summary

AccessConstructor and Description
protected
Layout(Runtime runtime)

Method Summary

Inherited from jnr.ffi.StructLayout:
addFieldaddFieldaddFieldaddFieldalignmentarrayarrayBeginarrayEndatfunctionfunctiongetNativeTypegetRuntimeinneroffsetsizetoString

Field Detail

iov_baseback to summary
public final StructLayout.Pointer iov_base
iov_lenback to summary
public final StructLayout.size_t iov_len

Constructor Detail

Layoutback to summary
protected Layout(Runtime runtime)