com.esri.arcgis.datasourcesraster
Class RasterStatusEvent2Helper

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

public class RasterStatusEvent2Helper
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
RasterStatusEvent2Helper(Object obj)
          Construct a RasterStatusEvent2Helper using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIRasterStatusEvent2Listener(IRasterStatusEvent2 theListener)
          addIRasterStatusEvent2Listener.
 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 removeIRasterStatusEvent2Listener(IRasterStatusEvent2 theListener)
          removeIRasterStatusEvent2Listener.
 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

RasterStatusEvent2Helper

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

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

Throws:
IOException - if there are interop problems RasterStatusEvent2Helper theRasterStatusEvent2Helper = (RasterStatusEvent2Helper) 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

addIRasterStatusEvent2Listener

public void addIRasterStatusEvent2Listener(IRasterStatusEvent2 theListener)
                                    throws IOException
addIRasterStatusEvent2Listener. Listen to events generated by this class.

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

removeIRasterStatusEvent2Listener

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

Parameters:
theListener - An object that implements the com.esri.arcgis.datasourcesraster.IRasterStatusEvent2 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.