All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.citrix.sharefile.api.async.SFDefaultAsyncTask Maven / Gradle / Ivy

package com.citrix.sharefile.api.async;

import com.citrix.sharefile.api.SFSDKDefaultAccessScope;
import com.citrix.sharefile.api.interfaces.ISFApiClient;
import com.citrix.sharefile.api.interfaces.ISFApiResultCallback;
import com.citrix.sharefile.api.interfaces.ISFAsyncHelper;
import com.citrix.sharefile.api.interfaces.ISFAsyncTask;
import com.citrix.sharefile.api.interfaces.ISFQuery;
import com.citrix.sharefile.api.models.SFODataObject;

@SFSDKDefaultAccessScope
class SFDefaultAsyncTask implements ISFAsyncTask, Runnable
{
    private ISFAsyncHelper mAsyncHelper;

    @Override
    public void start(ISFAsyncHelper asyncHelper)
    {
        mAsyncHelper = asyncHelper;
        Thread thread = new Thread(this);
        thread.start();
    }

    @Override
    public void run()
    {
        mAsyncHelper.execute();
        mAsyncHelper.onPostExecute();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy