Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

WSMethodInvocation—Asynchronous

  1. Set the client (callback). This includes the info pointer that you want to pass to your callback, as well as some callbacks for the info pointer to allow it to be reference counted.

  2. Once you’ve set the callback, you can schedule this invocation on one or more run loops. As those run loops execute, the invocation will pass through its state machine, which results in getting the data or getting a fault. When it completes, it will call your callback during that run loop invocation and you can process the result.

  3. Callback invoked from the runloop when the invocation completes.

  4. Can be scheduled on multiple runloops to implement thread groups.



< Previous PageNext Page > Hide TOC


Last updated: 2005-08-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice