org.jruby.ext.posix
Class DefaultNativeTimeval

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.jruby.ext.posix.NativeTimeval
          extended by org.jruby.ext.posix.DefaultNativeTimeval
All Implemented Interfaces:
Timeval

public final class DefaultNativeTimeval
extends NativeTimeval


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue
 
Field Summary
 com.sun.jna.NativeLong tv_sec
           
 com.sun.jna.NativeLong tv_usec
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
DefaultNativeTimeval()
           
 
Method Summary
 void setTime(long[] timeval)
           
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoRead, autoRead, autoWrite, autoWrite, 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tv_sec

public com.sun.jna.NativeLong tv_sec

tv_usec

public com.sun.jna.NativeLong tv_usec
Constructor Detail

DefaultNativeTimeval

public DefaultNativeTimeval()
Method Detail

setTime

public void setTime(long[] timeval)