com.esri.arcgis.geodatabase
Class TrafficFeedGPService

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TrafficFeedGPService
All Implemented Interfaces:
ITrafficFeedGPService, ITrafficFeedLocation, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class TrafficFeedGPService
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITrafficFeedLocation, ITrafficFeedGPService

A container for members in traffic feed data.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
TrafficFeedGPService()
          Constructs a TrafficFeedGPService using ArcGIS Engine.
TrafficFeedGPService(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrafficFeedGPService theTrafficFeedGPService = (TrafficFeedGPService) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IPropertySet getConnectionProperties()
          Connection properties of the GP service.
 String getServiceName()
          The name of the GP service.
 String getTaskName()
          The name of the GP service task which returns a URL to TrafficIndex.xml.
 int hashCode()
          the hashcode for this object
 void setConnectionProperties(IPropertySet connectionProperties)
          Connection properties of the GP service.
 void setServiceName(String serviceName)
          The name of the GP service.
 void setTaskName(String taskName)
          The name of the GP service task which returns a URL to TrafficIndex.xml.
 
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

TrafficFeedGPService

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

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

TrafficFeedGPService

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

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

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

getConnectionProperties

public IPropertySet getConnectionProperties()
                                     throws IOException,
                                            AutomationException
Connection properties of the GP service.

Product Availability

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

Specified by:
getConnectionProperties in interface ITrafficFeedGPService
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionProperties

public void setConnectionProperties(IPropertySet connectionProperties)
                             throws IOException,
                                    AutomationException
Connection properties of the GP service.

Product Availability

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

Specified by:
setConnectionProperties in interface ITrafficFeedGPService
Parameters:
connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceName

public String getServiceName()
                      throws IOException,
                             AutomationException
The name of the GP service.

Product Availability

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

Specified by:
getServiceName in interface ITrafficFeedGPService
Returns:
The serviceName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServiceName

public void setServiceName(String serviceName)
                    throws IOException,
                           AutomationException
The name of the GP service.

Product Availability

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

Specified by:
setServiceName in interface ITrafficFeedGPService
Parameters:
serviceName - The serviceName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTaskName

public String getTaskName()
                   throws IOException,
                          AutomationException
The name of the GP service task which returns a URL to TrafficIndex.xml.

Product Availability

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

Specified by:
getTaskName in interface ITrafficFeedGPService
Returns:
The taskName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTaskName

public void setTaskName(String taskName)
                 throws IOException,
                        AutomationException
The name of the GP service task which returns a URL to TrafficIndex.xml.

Product Availability

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

Specified by:
setTaskName in interface ITrafficFeedGPService
Parameters:
taskName - The taskName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.