com.esri.arcgis.networkanalyst
Class NAContextEvents

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

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

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

Description 'NAContext events. This class only provides access to the INAContextEvents 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
NAContextEvents()
          Constructs a NAContextEvents using ArcGIS Engine.
NAContextEvents(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAContextEvents theNAContextEvents = (NAContextEvents) obj;
 
Method Summary
 void addINAContextEventsListener(INAContextEvents theListener)
          addINAContextEventsListener.
 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 NAContextEvents.
 void removeINAContextEventsListener(INAContextEvents theListener)
          removeINAContextEventsListener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NAContextEvents

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

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

NAContextEvents

public NAContextEvents(java.lang.Object obj)
                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAContextEvents theNAContextEvents = (NAContextEvents) obj;

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

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

addINAContextEventsListener

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

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

removeINAContextEventsListener

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

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

release

public void release()
Release a NAContextEvents.

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