Class Index | File Index

Classes


Class caveTransaction


Defined in: cave.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
caveTransaction(name, doneCallback)
Create a new caveTransaction object.
Class Detail
caveTransaction(name, doneCallback)
Create a new caveTransaction object. You should not call this directly, but rather use the beginTransaction function, which also inserts the caveTransacrtion object into a list of current transactions.

See also the overview and examples.

Parameters:
{string} name
unique transaction name from the client-side. This is used as a key into the list of waiting transactions, for associating requests with replies.
{function} doneCallback
the function to call when a reply comes in for this transaction.

Documentation generated by JsDoc Toolkit 2.3.2 on Sun Nov 29 2009 14:58:50 GMT+0200 (SAST)