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