Class DataCommunicator.SimpleDataRequestRpc

    • Constructor Detail

      • SimpleDataRequestRpc

        protected SimpleDataRequestRpc()
    • Method Detail

      • requestRows

        public void requestRows​(int firstRowIndex,
                                int numberOfRows,
                                int firstCachedRowIndex,
                                int cacheSize)
        Description copied from interface: DataRequestRpc
        Request rows from the server.
        Specified by:
        requestRows in interface DataRequestRpc
        Parameters:
        firstRowIndex - the index of the first requested row
        numberOfRows - the number of requested rows
        firstCachedRowIndex - the index of the first cached row
        cacheSize - the number of cached rows
      • dropRows

        public void dropRows​(elemental.json.JsonArray keys)
        Description copied from interface: DataRequestRpc
        Informs the server that items have been dropped from the client cache.
        Specified by:
        dropRows in interface DataRequestRpc
        Parameters:
        keys - array of dropped keys mapping to items