com.esri.arcgis.geodatabase
Class VersionEvents

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

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

Helper coclass for working with the outbound interface IVersionEvents.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
VersionEvents()
          Constructs a VersionEvents using ArcGIS Engine.
VersionEvents(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
VersionEvents theVersionEvents = (VersionEvents) obj;
 
Method Summary
 void addIVersionEventsListener(IVersionEvents theListener)
          addIVersionEventsListener.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeIVersionEventsListener(IVersionEvents theListener)
          removeIVersionEventsListener.
 
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

VersionEvents

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

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

VersionEvents

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

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

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

addIVersionEventsListener

public void addIVersionEventsListener(IVersionEvents theListener)
                               throws IOException
addIVersionEventsListener. Listen to events generated by this class.

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

removeIVersionEventsListener

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

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