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