com.esri.arcgis.framework
Class ApplicationStatusEvents

java.lang.Object
  extended by com.esri.arcgis.framework.ApplicationStatusEvents
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ApplicationStatusEvents
extends Object
implements com.esri.arcgis.interop.RemoteObjRef

Helper coclass for working with the nondefault outbound IApplicationStatusEvents interface in VB.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
ApplicationStatusEvents(Object obj)
          Construct a ApplicationStatusEvents using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIApplicationStatusEventsListener(IApplicationStatusEvents theListener)
          addIApplicationStatusEventsListener.
 boolean equals(Object o)
          Compare this object with another
 int hashCode()
          the hashcode for this object
 void removeIApplicationStatusEventsListener(IApplicationStatusEvents theListener)
          removeIApplicationStatusEventsListener.
 
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

ApplicationStatusEvents

public ApplicationStatusEvents(Object obj)
                        throws IOException
Construct a ApplicationStatusEvents using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ApplicationStatusEvents.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ApplicationStatusEvents o = (ApplicationStatusEvents)obj; // will not work

ApplicationStatusEvents o = new ApplicationStatusEvents(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems ApplicationStatusEvents theApplicationStatusEvents = (ApplicationStatusEvents) obj;
Method Detail

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

addIApplicationStatusEventsListener

public void addIApplicationStatusEventsListener(IApplicationStatusEvents theListener)
                                         throws IOException
addIApplicationStatusEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.framework.IApplicationStatusEvents interface.
Throws:
IOException - If there are communications problems.

removeIApplicationStatusEventsListener

public void removeIApplicationStatusEventsListener(IApplicationStatusEvents theListener)
                                            throws IOException
removeIApplicationStatusEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.framework.IApplicationStatusEvents interface.
Throws:
IOException - If there are communications problems.