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

org.sdn.api.OpenClient Maven / Gradle / Ivy

package org.sdn.api;


import org.sdn.api.request.OpenRequest;
import org.sdn.api.response.OpenResponse;

/**
 * api接口调用
 * @author gaosong
 * @date 2018/10/15
 */
public interface OpenClient {

    /**
     *
     * @param request
     * @return
     * @throws OpenApiException
     */
     T defaultExecute(OpenRequest request) throws OpenApiException;


    /**
     *
     * @param 
     * @param request
     * @param authToken
     * @return
     * @throws OpenApiException
     */
     T defaultExecute(OpenRequest request, String authToken) throws OpenApiException;


    /**
     * 取消初始化
     * @param serverUrl
     * @param appKey
     * @return
     */
    boolean removeClient(String serverUrl,String appKey);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy