public class ServerGroupsClient
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ServerGroupsClient.ServerGroupsCallback |
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_TYPE_GET_ALL_SERVER_GROUPS |
static int |
REQUEST_TYPE_SET_ACTIVE_SERVER_GROUPS |
protected static java.lang.String |
TAG |
Constructor and Description |
---|
ServerGroupsClient() |
Modifier and Type | Method and Description |
---|---|
void |
getAllGroups(android.content.Context context,
java.lang.String connectString,
boolean sendLatestSA,
ServerGroupsClient.ServerGroupsCallback serverGroupsCallback) |
static ServerGroupsClient |
getInstance() |
void |
onRequestConnectionError(Request request,
RequestManager.ConnectionError ce) |
void |
onRequestCustomError(Request request,
android.os.Bundle resultData) |
void |
onRequestDataError(Request request) |
void |
onRequestFinished(Request request,
android.os.Bundle resultData) |
void |
setActiveGroups(android.content.Context context,
java.lang.String connectString,
java.util.List<ServerGroup> serverGroups) |
protected static final java.lang.String TAG
public static final int REQUEST_TYPE_GET_ALL_SERVER_GROUPS
public static final int REQUEST_TYPE_SET_ACTIVE_SERVER_GROUPS
public static ServerGroupsClient getInstance()
public void getAllGroups(android.content.Context context, java.lang.String connectString, boolean sendLatestSA, ServerGroupsClient.ServerGroupsCallback serverGroupsCallback)
public void setActiveGroups(android.content.Context context, java.lang.String connectString, java.util.List<ServerGroup> serverGroups)
public void onRequestFinished(Request request, android.os.Bundle resultData)
public void onRequestConnectionError(Request request, RequestManager.ConnectionError ce)
public void onRequestDataError(Request request)
public void onRequestCustomError(Request request, android.os.Bundle resultData)