|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IActionProcessor
Provides access to the methods and properties needed to manage and process a list of actions.
This class defines the Action Processor COM Object for the IDL file. See the ActionProcessor class for a description of its purpose.
Method Summary | |
---|---|
void |
checkLayers()
Checks for deleted Layers and disables affected actions. |
void |
clearQueue()
Purges the processing queue and terminates the processing of queued messages. |
IActionCollection |
getActions()
Allows access to the action processor's action collection. |
int |
getProcessorWaitTimeOut()
Provides a configurable timeout for waiting to be able to process data objects, defaulted to 5 seconds. |
boolean |
isExcludeRealtimeActions()
Indicates if real-time actions are excluded from appearing on the interface. |
boolean |
isSuspended()
Indicates whether the action processor will process any new data objects or any queued data objects. |
void |
processData(Object piObject,
boolean bQueueProcessing,
Object pvarReturnedObjects)
Takes an object as a parameter and runs it through an action list. |
void |
setActionsByRef(IActionCollection piActions)
Allows access to the action processor's action collection. |
void |
setExcludeRealtimeActions(boolean pbvarExclude)
Indicates if real-time actions are excluded from appearing on the interface. |
void |
setProcessorWaitTimeOut(int plProcessorWaitTimeOut)
Provides a configurable timeout for waiting to be able to process data objects, defaulted to 5 seconds. |
void |
setSuspended(boolean pbvarSuspended)
Indicates whether the action processor will process any new data objects or any queued data objects. |
Method Detail |
---|
void processData(Object piObject, boolean bQueueProcessing, Object pvarReturnedObjects) throws IOException, AutomationException
The ProcessData method takes an object as a parameter and runs it through an action list. The object can be queued if desired and an internal thread will run the object through the action list when able.
When this method is called without requesting that the object is to be queued, the third parameter will contain the potentially modified copy of the object or modified object. One special case for this returned object is when the action list contains a filter action. In this case, if the object is filtered out then the return is NULL.
piObject
- A reference to another Object (IUnknown) (in)bQueueProcessing
- The bQueueProcessing (in)pvarReturnedObjects
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearQueue() throws IOException, AutomationException
This method purges the processing queue thus terminating the processing of queued messages.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSuspended() throws IOException, AutomationException
The suspended property controls whether the action processor will process any new data objects or any queued data objects. New data objects do not queue up when the processor is suspended rather they just fall through the processor unprocessed.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSuspended(boolean pbvarSuspended) throws IOException, AutomationException
The suspended property controls whether the action processor will process any new data objects or any queued data objects. New data objects do not queue up when the processor is suspended rather they just fall through the processor un processed.
pbvarSuspended
- The pbvarSuspended (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IActionCollection getActions() throws IOException, AutomationException
This property allows access to the Action Processor's Action Collection. The action collection contains all actions that the processor is processing.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setActionsByRef(IActionCollection piActions) throws IOException, AutomationException
This property allows access to the Action Processors Action Collection. The action collection contains all actions that the processor is processing. The developer is responsible for ensuring that the action collection is not changed while another thread is processing a data object.
piActions
- A reference to a com.esri.arcgis.trackinganalyst.IActionCollection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getProcessorWaitTimeOut() throws IOException, AutomationException
This property provides a configurable timeout for waiting to be able to process data objects. The default value for this setting is 5 seconds.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setProcessorWaitTimeOut(int plProcessorWaitTimeOut) throws IOException, AutomationException
This property provides a configurable timeout for waiting to be able to process data objects. The default value for this setting is 5 seconds.
plProcessorWaitTimeOut
- The plProcessorWaitTimeOut (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isExcludeRealtimeActions() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExcludeRealtimeActions(boolean pbvarExclude) throws IOException, AutomationException
pbvarExclude
- The pbvarExclude (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void checkLayers() throws IOException, AutomationException
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 |