com.esri.arcgis.gisclient
Interface IWMSClientEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IWMSClientEventsAdapter, IWMSClientEventsProxy

public interface IWMSClientEvents
extends EventListener, 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.


Method Summary
 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.
 

Method Detail

wMSRequest

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.

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

wMSException

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.

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.