Difference: ClientApiCppDoc (9 vs. 10)

Revision 102011-07-13 - AlviseDorigo

Line: 1 to 1
 
META TOPICPARENT name="DevelopersDocumentation"

[ WORK IN PROGRESS - NOT YET READY FOR PUBLICATION ]

Line: 194 to 194
 A user that invokes a QueryEvent on a CREAM CE, receives all her/his jobs's status changes. The query has two filters:
  • time range (from, to)
  • ID range (from ,to)
Changed:
<
<
Time range has a quite intuitive meaning, the ID a few less. Each event generated in a CE for a certain user, has an incremental ID (64bit unsigned integer). A user can be interested to a certain events identified by a recent ID range that correspond to recent job status changes. This function is particularly useful to the ICE component that memorizes the last EventID received in the last call for each couple (user_DN, CE_URL), resulting in a quite small information exchange with the CE. As usual, in order to perform a QueryEvent the user must obtain a pointer to an AbsCreamProxy object by mean of CreamProxyFactory::make_CreamProxy_QueryEvent(...), invoke the execute(...) method on it, and delete. The invocation of execute will fill up the list of EventWrapper pointers (that is an argument of the CreamProxyFactory::make_CreamProxy_QueryEvent function).
>
>
Time range has a quite intuitive meaning, the ID a few less. Each event generated in a CE for a certain user, has an incremental ID (64bit unsigned integer). A user can be interested to a certain subset of all her/his job events, identified by a particular ID range that correspond to the subset. This function is particularly useful to the ICE component that memorizes the last event's ID received in the last call for each couple (user_DN, CE_URL), resulting in a quite small information exchange with the CE.

As usual, in order to perform a QueryEvent the user must obtain a pointer to an AbsCreamProxy object by mean of CreamProxyFactory::make_CreamProxy_QueryEvent(...), invoke the execute(...) method on it, and delete it. The invocation of execute(...) will fill up a list of EventWrapper pointers (that is an argument of the CreamProxyFactory::make_CreamProxy_QueryEvent function).

  [ TO BE CONTINUED ... ]
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback