An optional context that can contain data you want passed to your callback.
struct WSClientContext { CFIndex version; void * info; WSClientContextRetainCallBackProcPtr retain; WSClientContextReleaseCallBackProcPtr release; WSClientContextCopyDescriptionCallBackProcPtr copyDescription; }; typedef struct WSClientContext WSClientContext;
version
Set to zero.
info
A pointer to your information to be passed to your 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.
copyDescription
Callback made on the info pointer. This field may be NULL.
Several calls in the Web Services Core framework 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.
WSTypes.h
An opaque reference to a web services method invocation.
typedef struct OpaqueWSMethodInvocationRef* WSMethodInvocationRef;
The WSMethodInvocationRef
is the fundamental object of web services. Create it using WSMethodInvocationCreate
. Use it to set parameters, callbacks, and settings for a method invocation, and to invoke a method and obtain a response.
WSMethodInvocation.h
An opaque reference to a web services protocol handler.
typedef struct OpaqueWSProtocolHandlerRef* WSProtocolHandlerRef;
The WSProtocolHandlerRef
represents an instance of a protocol handler. Create it using WSProtocolHandlerCreate
.
WSProtocolHandler.h
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-01-06)