ipcITransactionObserver

IID:656c0a6a-5cb3-45ec-8cb6-e7678897f937
Inherits From:nsISupports

Methods

void onAttachReply ( PRUint32 queueID , PRUint32 status ) void onDetachReply ( PRUint32 queueID , PRUint32 status ) void onFlushReply ( PRUint32 queueID , PRUint32 status ) void onTransactionAvailable ( PRUint32 queueID , arrayof PRUint8 data , PRUint32 dataLen )

void onAttachReply ( PRUint32 queueID , PRUint32 status )

Called after an application sends an Attach message to the Transaction Manager.

Arguments:
queueID: The client has been attached to the queue with this ID
status: The status of the operation, as defined in tmUtils.h

void onDetachReply ( PRUint32 queueID , PRUint32 status )

Called after an application sends a Detach message. Indicates to the client that no more messages will be coming from the the TM to this client. Also, no messages posted from this client to the indicated queue will be accepted.

Arguments:
queueID: The client has been detached from the queue with this ID
status: The status of the operation, as defined in tmUtils.h

void onFlushReply ( PRUint32 queueID , PRUint32 status )

The reply from the TM indicating all messages have been removed from the queue indicated.

Arguments:
queueID: The queue that has been flushed.
status: The status of the operation, as defined in tmUtils.h

void onTransactionAvailable ( PRUint32 queueID , arrayof PRUint8 data , PRUint32 dataLen )

This gets called when a Transaction has been sent from the TransactionManager. If the data passed in needs to be stored for longer than the life of the method the observer needs to make a copy.

Arguments:
queueID: The queue from which the transaction originated
data: The data to be sent.
dataLen: The length of the data argument

Reference documentation is generated from Mozilla's source.


Warning: main(/home/xulplane/lib/comments/wact/framework/common.inc.php): failed to open stream: No such file or directory in /home/xulplane/wwwroot/xulplanet.com/comments/comments.php on line 3

Fatal error: main(): Failed opening required '/home/xulplane/lib/comments/wact/framework/common.inc.php' (include_path='.:/usr/lib/php') in /home/xulplane/wwwroot/xulplanet.com/comments/comments.php on line 3