public class GetEdgeWeightNamesService
extends java.lang.Object
获取耗费字段服务类。
用于网络分析的耗费字段由服务端发布,以资源的形式存储在服务器端。客户端通过耗费字段资源的URL就能获取到当前可用的所有耗费字段,然后从中选择本次网络分析需要的耗费字段即可。
限定符和类型 | 类和说明 |
---|---|
static class |
GetEdgeWeightNamesService.GetEdgeWeightNamesEventListener
处理获取耗费字段结果的监听器抽象类。
|
构造器和说明 |
---|
GetEdgeWeightNamesService(java.lang.String url)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
EdgeWeightNamesResult |
getLastResult()
返回耗费字段列表。
|
<T> void |
process(GetEdgeWeightNamesService.GetEdgeWeightNamesEventListener listener)
根据耗费字段服务与服务端完成异步通讯,即发送分析参数,并通过实现GetEdgeWeightNamesEventListener监听器处理分析结果。
|
public GetEdgeWeightNamesService(java.lang.String url)
构造函数。
url
- 获取耗费字段服务地址。public <T> void process(GetEdgeWeightNamesService.GetEdgeWeightNamesEventListener listener)
根据耗费字段服务与服务端完成异步通讯,即发送分析参数,并通过实现GetEdgeWeightNamesEventListener监听器处理分析结果。
listener
- 处理分析结果的GetEdgeWeightNamesEventListener监听器。public EdgeWeightNamesResult getLastResult()
返回耗费字段列表。