com.esri.arcgis.networkanalyst
Class NAContextEvents2

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

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

COM Class 'NAContextEvents2'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description 'NAContext events. This class only provides access to the INAContextEvents2 outbound interface.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Constructor Summary
NAContextEvents2()
          Constructs a NAContextEvents2 using ArcGIS Engine.
NAContextEvents2(java.lang.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(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a NAContextEvents2.
 void removeINAContextEvents2Listener(INAContextEvents2 theListener)
          removeINAContextEvents2Listener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NAContextEvents2

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

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

NAContextEvents2

public NAContextEvents2(java.lang.Object obj)
                 throws java.io.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:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

addINAContextEvents2Listener

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

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

removeINAContextEvents2Listener

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

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

release

public void release()
Release a NAContextEvents2.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef