com.esri.arcgis.networkanalyst
Class NAServerObjectDescription

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.NAServerObjectDescription
All Implemented Interfaces:
IServerObjectDescription, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class NAServerObjectDescription
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IServerObjectDescription

Deprecated as of 10.0. Server object description for the NAServer server object extension.

Remarks

At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.

The NAServerObjectDescription object is used to determine the type and the CLSID of the NAServer client proxy object to use (NAServerIP or NAServerLP) to perform network analysis on the server using the GISClient framework.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
NAServerObjectDescription()
          Constructs a NAServerObjectDescription using ArcGIS Engine.
NAServerObjectDescription(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAServerObjectDescription theNAServerObjectDescription = (NAServerObjectDescription) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IUID getClientProxyCLSID(int connType)
          The clsid for the client proxy.
static String getClsid()
          getClsid.
 String getType()
          Defines the type for the server object.
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

NAServerObjectDescription

public NAServerObjectDescription()
                          throws IOException,
                                 UnknownHostException
Constructs a NAServerObjectDescription using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

NAServerObjectDescription

public NAServerObjectDescription(Object obj)
                          throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAServerObjectDescription theNAServerObjectDescription = (NAServerObjectDescription) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getType

public String getType()
               throws IOException,
                      AutomationException
Defines the type for the server object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getType in interface IServerObjectDescription
Returns:
The type
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClientProxyCLSID

public IUID getClientProxyCLSID(int connType)
                         throws IOException,
                                AutomationException
The clsid for the client proxy.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getClientProxyCLSID in interface IServerObjectDescription
Parameters:
connType - A com.esri.arcgis.gisclient.esriAGSConnectionType constant (in)
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.