com.kucoin.sdk.websocket.ChooseServerStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kucoin-java-sdk Show documentation
Show all versions of kucoin-java-sdk Show documentation
Fixed fork of the official Kucoin SDK
The newest version!
/**
* Copyright 2019 Mek Global Limited.
*/
package com.kucoin.sdk.websocket;
import com.kucoin.sdk.model.InstanceServer;
import java.util.List;
/**
* Created by chenshiwei on 2019/1/24.
*/
public interface ChooseServerStrategy {
/**
* For choose web socket connect server
*
* @param servers
* @return A server instance.
*/
InstanceServer choose(List servers);
}