public class ResponseData
extends java.lang.Object
ResponseData
class represents a common base class for data that has been requested by the application.
If an application requests data that has to be retrieved from the server (an asynchronous request for data), then the data is
returned to the application in a NotificationEventI
object that the application receives through the listener
interfaces (for example, InteractionListenerI.onInteractionEvent(com.avaya.ccs.api.NotificationEventI<com.avaya.ccs.api.InteractionI>)
). The NotificationType.RESPONSE
notification
transports a ResponseData
object to the application in these cases.
To access the contextual data that was requested, the ResponseData
object should be cast to the appropriate sub class.
The instanceof
operator should be utilized for type comparision before casting. The possible sub types of
ResponseData
are;
Constructor and Description |
---|
ResponseData() |