org.rococoa.cocoa.osservices
Class CSIdentityClientContext

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<CSIdentityClientContext,CSIdentityClientContext.ByValue,CSIdentityClientContext.ByReference>
          extended by org.rococoa.cocoa.osservices.CSIdentityClientContext
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<CSIdentityClientContext,CSIdentityClientContext.ByValue,CSIdentityClientContext.ByReference>>
Direct Known Subclasses:
CSIdentityClientContext.ByReference, CSIdentityClientContext.ByValue

public class CSIdentityClientContext
extends Structure<CSIdentityClientContext,CSIdentityClientContext.ByValue,CSIdentityClientContext.ByReference>

CSIdentityClientContext

Discussion:
Structure containing the user-defined data and callbacks used
during asynchronous commits
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentity.h:1404
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 CSIdentityClientContext.ByReference
           
static class CSIdentityClientContext.ByValue
           
 
Field Summary
 CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription
          The callback used to create a descriptive string representation of
the client object for debugging purposes.
 Pointer info
          An arbitrary pointer to client-defined data, which can be
associated with the client and is passed to the callbacks.
 CoreFoundationLibrary.CFAllocatorReleaseCallBack release
          The callback used to remove a retain previously acquired for the
client object.
 CoreFoundationLibrary.CFAllocatorRetainCallBack retain
          The callback used to add a retain for the on the client object for
the life of the asynchronous operation, and may be used for
temporary references the identity needs to take.
 OSServicesLibrary.CSIdentityStatusUpdatedCallback statusUpdated
          The client callback invoked when the status of an asnchronous
operation changes
C type : CSIdentityStatusUpdatedCallback
 NativeLong version
          The version number of the client structure type.
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
CSIdentityClientContext()
           
CSIdentityClientContext(NativeLong version, Pointer info, CoreFoundationLibrary.CFAllocatorRetainCallBack retain, CoreFoundationLibrary.CFAllocatorReleaseCallBack release, CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription, OSServicesLibrary.CSIdentityStatusUpdatedCallback statusUpdated)
           
 
Method Summary
static CSIdentityClientContext[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

version

public NativeLong version
The version number of the client structure type. The current
version number is 0.
C type : CFIndex


info

public Pointer info
An arbitrary pointer to client-defined data, which can be
associated with the client and is passed to the callbacks.
C type : void*


retain

public CoreFoundationLibrary.CFAllocatorRetainCallBack retain
The callback used to add a retain for the on the client object for
the life of the asynchronous operation, and may be used for
temporary references the identity needs to take. This callback
returns the actual info pointer to be passed to the statusUpdated
callback. May be NULL.
C type : CFAllocatorRetainCallBack


release

public CoreFoundationLibrary.CFAllocatorReleaseCallBack release
The callback used to remove a retain previously acquired for the
client object. May be NULL.
C type : CFAllocatorReleaseCallBack


copyDescription

public CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription
The callback used to create a descriptive string representation of
the client object for debugging purposes. This is used by the
CFCopyDescription() function. May be NULL.
C type : CFAllocatorCopyDescriptionCallBack


statusUpdated

public OSServicesLibrary.CSIdentityStatusUpdatedCallback statusUpdated
The client callback invoked when the status of an asnchronous
operation changes
C type : CSIdentityStatusUpdatedCallback

Constructor Detail

CSIdentityClientContext

public CSIdentityClientContext()

CSIdentityClientContext

public CSIdentityClientContext(NativeLong version,
                               Pointer info,
                               CoreFoundationLibrary.CFAllocatorRetainCallBack retain,
                               CoreFoundationLibrary.CFAllocatorReleaseCallBack release,
                               CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription,
                               OSServicesLibrary.CSIdentityStatusUpdatedCallback statusUpdated)
Parameters:
version - The version number of the client structure type. The current
version number is 0.
C type : CFIndex
info - An arbitrary pointer to client-defined data, which can be
associated with the client and is passed to the callbacks.
C type : void*
retain - The callback used to add a retain for the on the client object for
the life of the asynchronous operation, and may be used for
temporary references the identity needs to take. This callback
returns the actual info pointer to be passed to the statusUpdated
callback. May be NULL.
C type : CFAllocatorRetainCallBack
release - The callback used to remove a retain previously acquired for the
client object. May be NULL.
C type : CFAllocatorReleaseCallBack
copyDescription - The callback used to create a descriptive string representation of
the client object for debugging purposes. This is used by the
CFCopyDescription() function. May be NULL.
C type : CFAllocatorCopyDescriptionCallBack
statusUpdated - The client callback invoked when the status of an asnchronous
operation changes
C type : CSIdentityStatusUpdatedCallback
Method Detail

newArray

public static CSIdentityClientContext[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.