Paketet lc.foundation.util innehåller klasser och komponenter som används för att hantera meddelanden från Document-servern. De här klasserna är praktiska för att hantera asynkrona anrop från datakällor.
Funktioner
| Funktion | Beskrivning | |
|---|---|---|
| addOneShotEventListener | Add an event listener to the specified event dispatcher ensuring that it will only fire once. | |
| addParams | Create an adapter function that calls the provided function with the provided parameters, appending any parameters passed in when it is invoked. |
Klasser
| Klass | Beskrivning | |
|---|---|---|
| CollectionToken | The CollectionToken class represents a token for asynchronous calls that return a collection. | |
| CompositeMessage | The CompositeMessage class encapsulates a composite message. | |
| DefaultResponder | The DefaultResponder class is an implementation of the mx.rpc.IResponder interface. | |
| ObjectToken | The ObjectToken class represents a token for an asynchronous call that returns an object. | |
| Token | The Token class provides a mechanism to specify handlers for asynchronous calls. |
Tue Jun 12 2018, 01:55 PM Z