RemoteDataAdapterListener

Overview

RemoteDataAdapterListener is an interface that is used to by RemoteDataAdapter to notify about its events. To subscribe to adapter's notifications, you can either implement this interface or use an AbstractRemoteDataListener abstract class, that already has stub interface implementation.

Location

Implemented in

Required Methods


loginNeeded

A method that will be called by the event publisher, when SessionNotFound exception occurs while talking to the remote service. Learn more about how to deal with this event and an event object on LoginNeededEvent page.

 

method loginNeeded(anEvent: LoginNeededEvent)

 

void loginNeeded(LoginNeededEvent anEvent)

Parameters:

  • anEvent: An event data object.

updateFailure

A method that will be called by the event publisher, when server informs about some delta changes that has been failed.

Learn more about how to deal with this event and an event object on LoginNeededEvent page.

 

method updateFailure(anEvent: UpdateFailureEvent)

 

void updateFailure(UpdateFailureEvent anEvent)

Parameters:

  • anEvent: An event data object.