com.esri.arcgis.networkanalyst
Class NAContextEvents2

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

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

NAContext events. This class only provides access to the INAContextEvents2 outbound interface.

Product Availability

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

See Also:
Serialized Form

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

NAContextEvents2

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

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

NAContextEvents2

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

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

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

addINAContextEvents2Listener

public void addINAContextEvents2Listener(INAContextEvents2 theListener)
                                  throws IOException
addINAContextEvents2Listener. Listen to events generated by this class.

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

removeINAContextEvents2Listener

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

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