|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.gisclient.IWMSClientEventsProxy
public class IWMSClientEventsProxy
Provides access to events that occur when a URL request is made to the WMS server.
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.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IWMSClientEventsProxy()
public IWMSClientEventsProxy(Object obj) throws IOException
IOException
protected IWMSClientEventsProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void wMSRequest(IWMSClientEventsWMSRequestEvent theEvent) throws IOException, AutomationException
A WMSException occurs whenever a WMS server throws an exception after a WMSRequest. The exception will is defined by the WMS specifications.
wMSRequest
in interface IWMSClientEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void wMSException(IWMSClientEventsWMSExceptionEvent theEvent) throws IOException, AutomationException
A WMSRequest occurs whenever a layer based on a WMSConnection makes a GetMap or GetFeatureInfo request to the WMS server.
wMSException
in interface IWMSClientEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |