25.07.2014 Views

Asynchronous Completion Token - Ingeniørhøjskolen i Århus

Asynchronous Completion Token - Ingeniørhøjskolen i Århus

Asynchronous Completion Token - Ingeniørhøjskolen i Århus

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Solution<br />

• Together with each asynchronous operation<br />

invocation:<br />

– transmit information that identifies how the initiator<br />

should process the service’s response<br />

• create an <strong>Asynchronous</strong> <strong>Completion</strong> <strong>Token</strong> (ACT)<br />

• the ACT is passed to the service, which hold it – but does<br />

not modify it<br />

• Return this information to the initiator when the<br />

operation finishes<br />

• The initiator uses the ACT to identify the<br />

completion handler<br />

© <strong>Ingeniørhøjskolen</strong> i <strong>Århus</strong><br />

Slide 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!