com.esri.arcgis.geodatabase
Class VersionEvents2

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

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

Helper coclass for working with the outbound interface IVersionEvents2.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
VersionEvents2()
          Constructs a VersionEvents2 using ArcGIS Engine.
VersionEvents2(Object obj)
          Construct a VersionEvents2 using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIVersionEvents2Listener(IVersionEvents2 theListener)
          addIVersionEvents2Listener.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeIVersionEvents2Listener(IVersionEvents2 theListener)
          removeIVersionEvents2Listener.
 
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

VersionEvents2

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

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

VersionEvents2

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

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

addIVersionEvents2Listener

public void addIVersionEvents2Listener(IVersionEvents2 theListener)
                                throws IOException
addIVersionEvents2Listener. Listen to events generated by this class.

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

removeIVersionEvents2Listener

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

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