com.esri.arcgis.framework
Interface IAppROTEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IAppROTEventsAdapter, IAppROTEventsProxy

public interface IAppROTEvents
extends EventListener, Serializable

Provides access to events that occur on the ESRI application running object table.

Remarks

The AppROT events are designed to let interested applications or components know when an ESRI application has started or terminated. When an instance of an application starts or terminates, an event will automatically be fired from the AppROT to let all listeners know about it. This may be useful if listening components or applications need to maintain "switch-to" lists, or if they want to synchronize representations between all running instances so that if something happens in one application, all anothers can be informed and update themselves appropriately. Such "coordinating" components would need to know when new instances start and when existing ones terminate.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void appAdded(IAppROTEventsAppAddedEvent theEvent)
          Occurs when an application reference is added to the table.
 void appRemoved(IAppROTEventsAppRemovedEvent theEvent)
          Occurs when an application reference is removed from the table.
 

Method Detail

appAdded

void appAdded(IAppROTEventsAppAddedEvent theEvent)
              throws IOException,
                     AutomationException
Occurs when an application reference is added to the table.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

appRemoved

void appRemoved(IAppROTEventsAppRemovedEvent theEvent)
                throws IOException,
                       AutomationException
Occurs when an application reference is removed from the table.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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