org.rococoa.cocoa.osservices
Class WSClientContext

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

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

WSClientContext

Discussion:
Several calls in WebServicesCore take a callback with an optional
context pointer. The context is copied and the info pointer
retained. When the callback is made, the info pointer is passed
to the callback.
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 WSClientContext.ByReference
           
static class WSClientContext.ByValue
           
 
Field Summary
 Pointer info
           
 OSServicesLibrary.WSClientContextReleaseCallBackProcPtr release
           
 OSServicesLibrary.WSClientContextRetainCallBackProcPtr retain
           
 NativeLong version
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
WSClientContext()
           
WSClientContext(NativeLong version, Pointer info, OSServicesLibrary.WSClientContextRetainCallBackProcPtr retain, OSServicesLibrary.WSClientContextReleaseCallBackProcPtr release)
           
 
Method Summary
 WSClientContext.ByReference byReference()
           
 WSClientContext.ByValue byValue()
           
 WSClientContext 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

version

public NativeLong version

info

public Pointer info

retain

public OSServicesLibrary.WSClientContextRetainCallBackProcPtr retain

release

public OSServicesLibrary.WSClientContextReleaseCallBackProcPtr release
Constructor Detail

WSClientContext

public WSClientContext()

WSClientContext

public WSClientContext(NativeLong version,
                       Pointer info,
                       OSServicesLibrary.WSClientContextRetainCallBackProcPtr retain,
                       OSServicesLibrary.WSClientContextReleaseCallBackProcPtr release)
Parameters:
version - set to zero (0)
info - info pointer to be passed to the callback
retain - callback made on the info pointer. This field may be NULL.
release - callback made on the info pointer. This field may be NULL.
Method Detail

byReference

public WSClientContext.ByReference byReference()

byValue

public WSClientContext.ByValue byValue()

clone

public WSClientContext clone()
Overrides:
clone in class Object