com.esri.arcgis.networkanalyst
Class NALayerEvents

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

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

NALayer events. This class only provides access to the INALayerEvents outbound interface.

Product Availability

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

See Also:
Serialized Form

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

NALayerEvents

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

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

NALayerEvents

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

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

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

addINALayerEventsListener

public void addINALayerEventsListener(INALayerEvents theListener)
                               throws IOException
addINALayerEventsListener. Listen to events generated by this class.

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

removeINALayerEventsListener

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

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