org.rococoa.cocoa.osservices
Class WSClientContext
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
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.
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 |
version
public NativeLong version
info
public Pointer info
retain
public OSServicesLibrary.WSClientContextRetainCallBackProcPtr retain
release
public OSServicesLibrary.WSClientContextReleaseCallBackProcPtr release
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.
byReference
public WSClientContext.ByReference byReference()
byValue
public WSClientContext.ByValue byValue()
clone
public WSClientContext clone()
- Overrides:
clone
in class Object