Skip navigation links
A C D E G I L O P Q R S T U W 

A

Argo - Class in com.yy.argo
Argo是YY基础架构部提供的通用配置服务。通过它,可以极其便利地进行大规模、分布式系统的动态网络配置和行为控制。 Argo的基础使用流程为: 1.
Argo.ArgoCode - Annotation Type in com.yy.argo
 
Argo.ConfigsHandler - Interface in com.yy.argo
配置查询的响应回调,请通过提供不通的ConfigsHandler实现,来处理不同的配置数据
Argo.Environment - Annotation Type in com.yy.argo
 
Argo.Level - Annotation Type in com.yy.argo
 
Argo.Logger - Interface in com.yy.argo
 
Argo.QueryResult - Annotation Type in com.yy.argo
 
Argo.Region - Annotation Type in com.yy.argo
 
ARGO_REPORT_HOST_CHINA - Static variable in interface com.yy.argo.Constants
 
ARGO_REPORT_HOST_OVERSEAS - Static variable in interface com.yy.argo.Constants
 
ARGO_SERVICE_HOST_PRODUCT - Static variable in interface com.yy.argo.Constants
 
ARGO_SERVICE_HOST_TEST - Static variable in interface com.yy.argo.Constants
 
ARGO_SERVICE_PORT_PRODUCT - Static variable in interface com.yy.argo.Constants
 
ARGO_SERVICE_PORT_TEST - Static variable in interface com.yy.argo.Constants
 
ARGO_VERSION - Static variable in interface com.yy.argo.Constants
 
ArgoCodeClientExceptions - Static variable in annotation type com.yy.argo.Argo.ArgoCode
 
ArgoCodeHTTPFailure - Static variable in annotation type com.yy.argo.Argo.ArgoCode
 
ArgoCodeInvalidParameters - Static variable in annotation type com.yy.argo.Argo.ArgoCode
 
ArgoCodeNoInternet - Static variable in annotation type com.yy.argo.Argo.ArgoCode
 
ArgoCodeParsingException - Static variable in annotation type com.yy.argo.Argo.ArgoCode
 
ArgoCodeServiceFailure - Static variable in annotation type com.yy.argo.Argo.ArgoCode
 
ArgoCodeSuccess - Static variable in annotation type com.yy.argo.Argo.ArgoCode
 
ArgoNetworkErrorException - Exception in com.yy.argo
Created by wangchenyang on 2019/1/30.
ArgoNetworkErrorException(String, int) - Constructor for exception com.yy.argo.ArgoNetworkErrorException
 

C

China - Static variable in annotation type com.yy.argo.Argo.Region
 
com.yy.argo - package com.yy.argo
 
Constants - Interface in com.yy.argo
Created by wangchenyang on 2019/1/30.
create(String, Context) - Static method in class com.yy.argo.Argo
创建Argo实例

D

Debug - Static variable in annotation type com.yy.argo.Argo.Level
 
destroy(Argo) - Static method in class com.yy.argo.Argo
销毁Argo实例.

E

Error - Static variable in annotation type com.yy.argo.Argo.Level
 
Exhausted - Static variable in annotation type com.yy.argo.Argo.QueryResult
 

G

getAppName(Context) - Static method in class com.yy.argo.Utils
获取App名字
getCode() - Method in exception com.yy.argo.ArgoNetworkErrorException
 
getStringFromInputStream(InputStream) - Static method in class com.yy.argo.Utils
InputStream转换为String

I

Info - Static variable in annotation type com.yy.argo.Argo.Level
 
init(int, Argo.Logger) - Static method in class com.yy.argo.Argo
 

L

log(int, String) - Method in interface com.yy.argo.Argo.Logger
 

O

onCompletion(int) - Method in interface com.yy.argo.Argo.ConfigsHandler
 
onConfigs(Map<String, String>) - Method in interface com.yy.argo.Argo.ConfigsHandler
当Argo返回的配置数据时,会通过onConfigs进行配置回调
onFailure(int, String) - Method in interface com.yy.argo.Argo.ConfigsHandler
 
Overseas - Static variable in annotation type com.yy.argo.Argo.Region
 

P

packageName(Context) - Static method in class com.yy.argo.Utils
获取App版本号
Product - Static variable in annotation type com.yy.argo.Argo.Environment
 

Q

queryConfigs(Argo.ConfigsHandler) - Method in class com.yy.argo.Argo
发起配置查询请求,这个过程是异步的,需要提供ConfigsHandler的回调实现来处理配置数据。

R

Recovered - Static variable in annotation type com.yy.argo.Argo.QueryResult
 
Responded - Static variable in annotation type com.yy.argo.Argo.QueryResult
 

S

setChannelUID(int) - Method in class com.yy.argo.Argo
和配置服务器通信时,会通过通道的UID来进行设备标识。业务服务器可以通过该标识来帮助其进行日志过滤和问题定位。 此外,如果需要接收服务器对客户端发送的单播消息,也需要正确设置该UID。
setProfiles(Map<String, String>) - Method in class com.yy.argo.Argo
Profiles是用于描述当前设备描述的信息,例如os类型(Android, iOS等),version等。配置中心可以根据这些描述 信息来进行条件配置下发。典型的场景如:对低端机型禁用高清开播,高端机型支持硬编等等。不同的Profiles可能会导致 queryConfigs返回不同的配置数据! Argo.queryConfigs(ConfigsHandler)
setRegion(int) - Static method in class com.yy.argo.Argo
设置上报环境

T

Test - Static variable in annotation type com.yy.argo.Argo.Environment
 

U

Utils - Class in com.yy.argo
工具类 Created by wangchenyang on 2019/1/30.
Utils() - Constructor for class com.yy.argo.Utils
 

W

Warn - Static variable in annotation type com.yy.argo.Argo.Level
 
A C D E G I L O P Q R S T U W 
Skip navigation links