com.esri.arcgis.networkanalyst
Class NAServerLP

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.NAServerLP
All Implemented Interfaces:
IAGSServerObject, IAGSServerObject2, com.esri.arcgis.interop.RemoteObjRef, INAServer, INAServer2, ISupportErrorInfo, java.io.Serializable

public class NAServerLP
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGSServerObject2, IAGSServerObject, INAServer, INAServer2, ISupportErrorInfo

COM Class 'NAServerLP'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description 'Deprecated as of 10.0. NAServer Proxy for LAN messages.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.gisclient.IAGSServerObject2
IID, IID2e07daa3_6dec_4dc3_a7ed_2f29e2ecfe4a, xxDummy
 
Fields inherited from interface com.esri.arcgis.gisclient.IAGSServerObject
IID7c25fb69_eac4_433c_b08c_7ae39e83ffbd
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServer2
IID, IID67020a7d_a382_404a_80d3_0454541444f3, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServer
IID7d270900_1f97_4c6f_8505_d6afcf807bb6
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
NAServerLP()
          Constructs a NAServerLP using ArcGIS Engine.
NAServerLP(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAServerLP theNAServerLP = (NAServerLP) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IName getFullName()
          The AGSServerConnectionName object associated with the server object.
 int getHttpTimeout()
          The maximum time in seconds to wait for a response from the server (Internet only).
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String[] getNALayerNames(int layerType)
          Array of network analysis layers of a particular analysis type.
 INAServerNetworkDescription getNetworkDescription(java.lang.String nALayerName)
          Description of the network dataset associated with the specified network analysis layer.
 INAServerSolverParams getSolverParameters(java.lang.String nALayerName)
          Default solver parameters for the specified network analysis layer.
 INAServerSolverParams getSolverParameters2(java.lang.String nALayerName, java.lang.String layerToken, boolean populateNAClasses)
          Default solver parameters for the specified network analysis layer.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a NAServerLP.
 void setHttpTimeout(int secs)
          The maximum time in seconds to wait for a response from the server (Internet only).
 INAServerSolverResults solve(INAServerSolverParams nAServerSolverParams)
          Perform network analysis based on the input solve parameters.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NAServerLP

public NAServerLP()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a NAServerLP using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

NAServerLP

public NAServerLP(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAServerLP theNAServerLP = (NAServerLP) obj;

Construct a NAServerLP using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NAServerLP.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a NAServerLP.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The AGSServerConnectionName object associated with the server object.

Specified by:
getFullName in interface IAGSServerObject2
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHttpTimeout

public void setHttpTimeout(int secs)
                    throws java.io.IOException,
                           AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Specified by:
setHttpTimeout in interface IAGSServerObject2
Parameters:
secs - The secs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHttpTimeout

public int getHttpTimeout()
                   throws java.io.IOException,
                          AutomationException
The maximum time in seconds to wait for a response from the server (Internet only).

Specified by:
getHttpTimeout in interface IAGSServerObject2
Returns:
The secs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNALayerNames

public java.lang.String[] getNALayerNames(int layerType)
                                   throws java.io.IOException,
                                          AutomationException
Array of network analysis layers of a particular analysis type.

Specified by:
getNALayerNames in interface INAServer
Parameters:
layerType - A com.esri.arcgis.networkanalyst.esriNAServerLayerType constant (in)
Returns:
The nALayerNames
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkDescription

public INAServerNetworkDescription getNetworkDescription(java.lang.String nALayerName)
                                                  throws java.io.IOException,
                                                         AutomationException
Description of the network dataset associated with the specified network analysis layer.

Specified by:
getNetworkDescription in interface INAServer
Parameters:
nALayerName - The nALayerName (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerNetworkDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSolverParameters

public INAServerSolverParams getSolverParameters(java.lang.String nALayerName)
                                          throws java.io.IOException,
                                                 AutomationException
Default solver parameters for the specified network analysis layer.

Specified by:
getSolverParameters in interface INAServer
Parameters:
nALayerName - The nALayerName (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerSolverParams
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

solve

public INAServerSolverResults solve(INAServerSolverParams nAServerSolverParams)
                             throws java.io.IOException,
                                    AutomationException
Perform network analysis based on the input solve parameters.

Specified by:
solve in interface INAServer
Parameters:
nAServerSolverParams - A reference to a com.esri.arcgis.networkanalyst.INAServerSolverParams (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerSolverResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSolverParameters2

public INAServerSolverParams getSolverParameters2(java.lang.String nALayerName,
                                                  java.lang.String layerToken,
                                                  boolean populateNAClasses)
                                           throws java.io.IOException,
                                                  AutomationException
Default solver parameters for the specified network analysis layer.

Specified by:
getSolverParameters2 in interface INAServer2
Parameters:
nALayerName - The nALayerName (in)
layerToken - The layerToken (in)
populateNAClasses - The populateNAClasses (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerSolverParams
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.