com.esri.arcgis.datasourcesraster
Class ThreadedJobResult

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.ThreadedJobResult
All Implemented Interfaces:
IThreadedJobResult, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ThreadedJobResult
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IThreadedJobResult

The result of a threaded job.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ThreadedJobResult()
          Constructs a ThreadedJobResult using ArcGIS Engine.
ThreadedJobResult(Object obj)
          Construct a ThreadedJobResult using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IPropertySet getProperties()
          All the properties that define the threaded job results object.
 int getWorkDone()
          The amount of work done by the job.
 int hashCode()
          the hashcode for this object
 void setPropertiesByRef(IPropertySet ppResultProperties)
          All the properties that define the threaded job results object.
 void setWorkDone(int pWorkDone)
          The amount of work done by the job.
 
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

ThreadedJobResult

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

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

ThreadedJobResult

public ThreadedJobResult(Object obj)
                  throws IOException
Construct a ThreadedJobResult using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ThreadedJobResult.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems ThreadedJobResult theThreadedJobResult = (ThreadedJobResult) obj;
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

getProperties

public IPropertySet getProperties()
                           throws IOException,
                                  AutomationException
All the properties that define the threaded job results object.

Product Availability

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

Specified by:
getProperties in interface IThreadedJobResult
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.

setPropertiesByRef

public void setPropertiesByRef(IPropertySet ppResultProperties)
                        throws IOException,
                               AutomationException
All the properties that define the threaded job results object.

Product Availability

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

Specified by:
setPropertiesByRef in interface IThreadedJobResult
Parameters:
ppResultProperties - 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.

getWorkDone

public int getWorkDone()
                throws IOException,
                       AutomationException
The amount of work done by the job.

Product Availability

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

Specified by:
getWorkDone in interface IThreadedJobResult
Returns:
The pWorkDone
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWorkDone

public void setWorkDone(int pWorkDone)
                 throws IOException,
                        AutomationException
The amount of work done by the job.

Product Availability

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

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