org.rococoa.cocoa.osservices
Class t_linger

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.osservices.t_linger
Direct Known Subclasses:
t_linger.ByReference, t_linger.ByValue

public class t_linger
extends com.ochafik.lang.jnaerator.runtime.Structure

t_linger is used with XTI_LINGER option.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class t_linger.ByReference
           
static class t_linger.ByValue
           
 
Field Summary
 int l_linger
           
 int l_onoff
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
t_linger()
           
t_linger(int l_onoff, int l_linger)
           
 
Method Summary
 t_linger.ByReference byReference()
           
 t_linger.ByValue byValue()
           
 t_linger clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

l_onoff

public int l_onoff

l_linger

public int l_linger
Constructor Detail

t_linger

public t_linger()

t_linger

public t_linger(int l_onoff,
                int l_linger)
Parameters:
l_onoff - option on/off
l_linger - linger time
Method Detail

byReference

public t_linger.ByReference byReference()

byValue

public t_linger.ByValue byValue()

clone

public t_linger clone()
Overrides:
clone in class Object