Package org.opencms.ugc.client
Class CmsRequestCounter
java.lang.Object
org.opencms.ugc.client.CmsRequestCounter
Keeps track of currently running requests for the purpose of enabling or disabling a waiting indicator.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Decrements the request counter.void
Increments the request counter.void
setCallback
(I_CmsBooleanCallback callback) Sets the callback.
-
Constructor Details
-
CmsRequestCounter
public CmsRequestCounter()
-
-
Method Details
-
decrement
Decrements the request counter. -
increment
Increments the request counter. -
setCallback
Sets the callback.- Parameters:
callback
- the callback
-