public class AppRouter extends Object
| 限定符 | 构造器和说明 |
|---|---|
protected |
AppRouter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected AppAccessEndpoint |
buildDefaultEndpoint(String appId) |
io.reactivex.Observable<RTMConnectionServerResponse> |
fetchRTMConnectionServer(String routerHost,
String appId,
String installationId,
int secure,
boolean forceUpdate) |
io.reactivex.Observable<AppAccessEndpoint> |
fetchServerHostsInBackground(String appId) |
void |
freezeEndpoint(AVOSService service,
String host) |
static AVOSCloud.REGION |
getAppRegion(String applicationId) |
io.reactivex.Observable<String> |
getEndpoint(String appId,
AVOSService service,
boolean forceUpdate) |
static AppRouter |
getInstance() |
protected String |
getPersistenceKeyZone(String appId,
boolean forAPIEndpoints) |
public static AppRouter getInstance()
public static AVOSCloud.REGION getAppRegion(String applicationId)
protected AppAccessEndpoint buildDefaultEndpoint(String appId)
public void freezeEndpoint(AVOSService service, String host)
public io.reactivex.Observable<String> getEndpoint(String appId, AVOSService service, boolean forceUpdate)
public io.reactivex.Observable<AppAccessEndpoint> fetchServerHostsInBackground(String appId)
public io.reactivex.Observable<RTMConnectionServerResponse> fetchRTMConnectionServer(String routerHost, String appId, String installationId, int secure, boolean forceUpdate)
Copyright © 2019. All rights reserved.