com.esri.arcgis.globecore
Class SensorEventsListener

java.lang.Object
  extended by com.esri.arcgis.globecore.SensorEventsListener
All Implemented Interfaces:
ISensorEventsListener, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class SensorEventsListener
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISensorEventsListener

SensorEventsListener Class

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SensorEventsListener()
          Constructs a SensorEventsListener using ArcGIS Engine.
SensorEventsListener(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SensorEventsListener theSensorEventsListener = (SensorEventsListener) obj;
 
Method Summary
 void activate(boolean status)
          method Activate
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void startListening(Object hook)
          method StartListening
 void stopListening()
          method StopListening
 
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

SensorEventsListener

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

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

SensorEventsListener

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

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

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

startListening

public void startListening(Object hook)
                    throws IOException,
                           AutomationException
method StartListening

Product Availability

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

Specified by:
startListening in interface ISensorEventsListener
Parameters:
hook - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopListening

public void stopListening()
                   throws IOException,
                          AutomationException
method StopListening

Product Availability

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

Specified by:
stopListening in interface ISensorEventsListener
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate(boolean status)
              throws IOException,
                     AutomationException
method Activate

Product Availability

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

Specified by:
activate in interface ISensorEventsListener
Parameters:
status - The status (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.