com.supermap.services.networkanalyst

Class AnalystFromServer

  • java.lang.Object
    • com.supermap.services.networkanalyst.AnalystFromServer
  • Direct Known Subclasses:
    MTSPathAnalystFromServer, PathAnalystFromServer, TSPathAnalystFromServer


    public abstract class AnalystFromServer
    extends java.lang.Object

    Title:iServer Analysis service

    Description: Docks various analysis service base classes released by iServer (currently only connect to path analysis, traveling salesman analysis, multi-traveling salesman analysis, and continue to connect to other services in the future)

    Copyright: Copyright (c) 2016

    Company: SuperMap GIS Technologies Inc.

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      abstract boolean requestServer()
      Method of requesting path analysis of iServer
      void setParameter(AnalystParameter parameter)
      Sets the parameters of the request, starting and ending points, obstacle points, etc.
      void setResponseListener(ResponseListener responseListener)
      Sets the return result monitoring interface
      void setUrlBase(java.lang.String urlBase)
      Sets the base path analysis URL For example: http://xxx:8090/iserver/services/transportationanalyst-sample/rest/networkanalyst/RoadNet@Changchun
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnalystFromServer

        public AnalystFromServer()
    • Method Detail

      • requestServer

        public abstract boolean requestServer()
        Method of requesting path analysis of iServer
        Returns:
      • setUrlBase

        public void setUrlBase(java.lang.String urlBase)
        Sets the base path analysis URL For example: http://xxx:8090/iserver/services/transportationanalyst-sample/rest/networkanalyst/RoadNet@Changchun
        Parameters:
        urlBase -
      • setParameter

        public void setParameter(AnalystParameter parameter)
        Sets the parameters of the request, starting and ending points, obstacle points, etc.
        Parameters:
        parameter - requests path parameters
      • setResponseListener

        public void setResponseListener(ResponseListener responseListener)
        Sets the return result monitoring interface
        Parameters:
        responseListener - returns result listening interface