Class LiveSyncImpl.AttributesToGetLiveSyncResultsHandler

    • Constructor Detail

      • AttributesToGetLiveSyncResultsHandler

        public AttributesToGetLiveSyncResultsHandler​(LiveSyncResultsHandler handler,
                                                     String[] attrsToGet)
    • Method Detail

      • handle

        public boolean handle​(LiveSyncDelta delta)
        Description copied from interface: LiveSyncResultsHandler
        Called to handle a delta in the stream. The Connector framework will call this method multiple times, once for each result. Although this method is callback, the framework will invoke it synchronously. Thus, the framework guarantees that once an application's call to LiveSyncApiOp#sync() returns, the framework will no longer call this method to handle results from that livesync operation.
        Specified by:
        handle in interface LiveSyncResultsHandler
        Parameters:
        delta - The change
        Returns:
        True if the application wants to continue processing more results.