com.esri.arcgis.gisclient
Class IWMSClientEventsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.gisclient.IWMSClientEventsProxy
All Implemented Interfaces:
IWMSClientEvents, Externalizable, Serializable, EventListener

public class IWMSClientEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements IWMSClientEvents, Serializable

Provides access to events that occur when a URL request is made to the WMS server.

Remarks

IWMSClientEvents provides two methods that allow to listen for WMS requests and exceptions. A WMSException occurs whenever a WMS server throws an exception after a WMSRequest. The exception will is defined by the WMS specifications. A WMSRequest occurs whenever a layer based on a WMSConnection makes a GetMap or GetFeatureInfo request to the WMS server.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IWMSClientEventsProxy()
           
  IWMSClientEventsProxy(Object obj)
           
protected IWMSClientEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void removeListener(String iidStr, Object theListener)
           
 void wMSException(IWMSClientEventsWMSExceptionEvent theEvent)
          Fired when the an URL request is made to WMS server and the server fails with a valid exception.
 void wMSRequest(IWMSClientEventsWMSRequestEvent theEvent)
          Fired when the an URL request is made to WMS server.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IWMSClientEventsProxy

public IWMSClientEventsProxy()

IWMSClientEventsProxy

public IWMSClientEventsProxy(Object obj)
                      throws IOException
Throws:
IOException

IWMSClientEventsProxy

protected IWMSClientEventsProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

wMSRequest

public void wMSRequest(IWMSClientEventsWMSRequestEvent theEvent)
                throws IOException,
                       AutomationException
Fired when the an URL request is made to WMS server.

Remarks

A WMSException occurs whenever a WMS server throws an exception after a WMSRequest. The exception will is defined by the WMS specifications.

Product Availability

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

Specified by:
wMSRequest in interface IWMSClientEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

wMSException

public void wMSException(IWMSClientEventsWMSExceptionEvent theEvent)
                  throws IOException,
                         AutomationException
Fired when the an URL request is made to WMS server and the server fails with a valid exception.

Remarks

A WMSRequest occurs whenever a layer based on a WMSConnection makes a GetMap or GetFeatureInfo request to the WMS server.

Product Availability

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

Specified by:
wMSException in interface IWMSClientEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.