public class UpdateTurnNodeWeightService
extends java.lang.Object
更新转向结点的权值服务类。
用于更新转向结点(TurnNodeWeight)的权值。
限定符和类型 | 类和说明 |
---|---|
static class |
UpdateTurnNodeWeightService.UpdateTurnNodeWeightEventListener
处理更新转向结点的权值服务的监听器抽象类。
|
构造器和说明 |
---|
UpdateTurnNodeWeightService(java.lang.String url)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
UpadateWeightResult |
getLastResult()
返回更新权值服务结果。
|
<T> void |
process(TurnNodeWeightParameters parameter, UpdateTurnNodeWeightService.UpdateTurnNodeWeightEventListener listener)
根据更新转向结点的权值服务与服务端完成异步通讯,即发送相关参数,并通过实现UpdateTurnNodeWeightEventListener监听器处理更新结果。
|
public UpdateTurnNodeWeightService(java.lang.String url)
构造函数。 使用转向权重字段资源地址初始化 UpdateTurnNodeWeightService 类的新实例。
url
- 转向权重字段资源地址。"http://localhost:8090/iserver/services/components-rest/rest/networkanalyst/RoadNet@Changchun"。public <T> void process(TurnNodeWeightParameters parameter, UpdateTurnNodeWeightService.UpdateTurnNodeWeightEventListener listener)
根据更新转向结点的权值服务与服务端完成异步通讯,即发送相关参数,并通过实现UpdateTurnNodeWeightEventListener监听器处理更新结果。
parameter
-listener
- 处理分析结果的GetEdgeWeightNamesEventListener监听器。public UpadateWeightResult getLastResult()
返回更新权值服务结果。