T
- the type of object that is contained in this NotificationEventI
public interface NotificationEventI<T>
NotificationEventI
object carries event information for a specified API interface object whose type is defined by
the generic type T.
The event notifications are sent to the application through the API listener interfaces. The API object that the notification
is related to is contained in the NotificationEventI
and can be accessed via
getNotificationObject()
.
Modifier and Type | Method and Description |
---|---|
ErrorI |
getError() |
T |
getNotificationObject() |
NotificationType |
getNotificationType() |
ResponseData |
getResponseData() |
T getNotificationObject()
NotificationType getNotificationType()
NotificationEventI
representsErrorI getError()
ErrorI
object if this event is of type NotificationType.ERROR
or null
if this is not an
error notificationResponseData getResponseData()
ResponseData
object if this event is of type NotificationType.RESPONSE
or null
if this
is not an response notification or if no data is being carried in the response