com.esri.arcgis.datasourcesraster
Class RasterStatusEventHelper

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterStatusEventHelper
All Implemented Interfaces:
IConnectionPoint, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class RasterStatusEventHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IConnectionPoint

The raster status event helper class for broadcasting events.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
RasterStatusEventHelper(Object obj)
          Construct a RasterStatusEventHelper using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIRasterStatusEventListener(IRasterStatusEvent theListener)
          addIRasterStatusEventListener.
 void advise(Object pUnkSink, int[] pdwCookie)
          advise
 void enumConnections(IEnumConnections[] ppEnum)
          enumConnections
 boolean equals(Object o)
          Compare this object with another
 void getConnectionInterface(GUID[] pIID)
          getConnectionInterface
 void getConnectionPointContainer(IConnectionPointContainer[] ppCPC)
          getConnectionPointContainer
 int hashCode()
          the hashcode for this object
 void removeIRasterStatusEventListener(IRasterStatusEvent theListener)
          removeIRasterStatusEventListener.
 void unadvise(int dwCookie)
          unadvise
 
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

RasterStatusEventHelper

public RasterStatusEventHelper(Object obj)
                        throws IOException
Construct a RasterStatusEventHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterStatusEventHelper.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
RasterStatusEventHelper o = (RasterStatusEventHelper)obj; // will not work

RasterStatusEventHelper o = new RasterStatusEventHelper(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems RasterStatusEventHelper theRasterStatusEventHelper = (RasterStatusEventHelper) obj;
Method Detail

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

addIRasterStatusEventListener

public void addIRasterStatusEventListener(IRasterStatusEvent theListener)
                                   throws IOException
addIRasterStatusEventListener. Listen to events generated by this class.

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

removeIRasterStatusEventListener

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

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

getConnectionInterface

public void getConnectionInterface(GUID[] pIID)
                            throws IOException,
                                   AutomationException
getConnectionInterface

Description

IConnectionPoint is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getConnectionInterface in interface IConnectionPoint
Parameters:
pIID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectionPointContainer

public void getConnectionPointContainer(IConnectionPointContainer[] ppCPC)
                                 throws IOException,
                                        AutomationException
getConnectionPointContainer

Description

IConnectionPoint is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getConnectionPointContainer in interface IConnectionPoint
Parameters:
ppCPC - A reference to a com.esri.arcgis.display.IConnectionPointContainer (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

advise

public void advise(Object pUnkSink,
                   int[] pdwCookie)
            throws IOException,
                   AutomationException
advise

Description

IConnectionPoint is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
advise in interface IConnectionPoint
Parameters:
pUnkSink - A reference to another Object (IUnknown) (in)
pdwCookie - The pdwCookie (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unadvise

public void unadvise(int dwCookie)
              throws IOException,
                     AutomationException
unadvise

Description

IConnectionPoint is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

enumConnections

public void enumConnections(IEnumConnections[] ppEnum)
                     throws IOException,
                            AutomationException
enumConnections

Description

IConnectionPoint is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
enumConnections in interface IConnectionPoint
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnections (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.