|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.trackinganalyst.ActionProcessor
The Action Processor object processes all actions in the main actioncollection and children.
The Action processor object is the main controller for processing action collections. An Action is an object that performs analysis or processes data as it comes into one of the folowing tracking analyst systems:
Currently the Tracking Analyst supports the following types of actions:
| Name | Description |
|---|---|
| TagAction | This action runs in the TrackingServer system and places a Tagged value in the DataMessage Tag property when its condition is satisfied. |
| FilterAction | This action runs in all three systems and filters the DataMessage or Feature from further processing. |
| HighlightSuppressionAction | This action only runs within the TrackingAnalyst Layer system and provides highlighting or suppression of features as they are displayed or rendered within the Map display. |
| VisualBasicAction | This action only runs within the Tracking Analyst Server connection and executes Visual basic code when the condition of the action is satisfied. |
| Constructor Summary | |
ActionProcessor()
Constructs a ActionProcessor using ArcGIS Engine. |
|
ActionProcessor(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| 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. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IActionCollection |
getActions()
Allows access to the action processor's action collection. |
IActionProcessor |
getAsIActionProcessor()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IActionUpdate |
getAsIActionUpdate()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
int |
getProcessorWaitTimeOut()
Provides a configurable timeout for waiting to be able to process data objects, defaulted to 5 seconds. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
Supported Platforms |
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 |
load(IStream pstm)
Supported Platforms |
void |
processData(java.lang.Object piObject,
boolean bQueueProcessing,
java.lang.Object pvarReturnedObjects)
Takes an object as a parameter and runs it through an action list. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
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. |
void |
update()
Notify a tracking action that lookup table values have changed. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ActionProcessor()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ActionProcessor(java.lang.Object obj)
throws java.io.IOException
obj to ActionProcessor. ActionProcessor theActionProcessor = (ActionProcessor) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IActionProcessor getAsIActionProcessor()
public IPersistStream getAsIPersistStream()
public IActionUpdate getAsIActionUpdate()
public boolean equals(java.lang.Object o)
public int hashCode()
public void processData(java.lang.Object piObject,
boolean bQueueProcessing,
java.lang.Object pvarReturnedObjects)
throws java.io.IOException,
AutomationException
IActionProcessorThe 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.
processData in interface IActionProcessorpiObject - A reference to another Object (IUnknown) (in)bQueueProcessing - The bQueueProcessing (in)pvarReturnedObjects - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearQueue()
throws java.io.IOException,
AutomationException
IActionProcessorThis method purges the processing queue thus terminating the processing of queued messages.
clearQueue in interface IActionProcessorAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isSuspended()
throws java.io.IOException,
AutomationException
IActionProcessorThe 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.
isSuspended in interface IActionProcessorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSuspended(boolean pbvarSuspended)
throws java.io.IOException,
AutomationException
IActionProcessorThe 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.
setSuspended in interface IActionProcessorpbvarSuspended - The pbvarSuspended (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IActionCollection getActions()
throws java.io.IOException,
AutomationException
IActionProcessorThis property allows access to the Action Processor's Action Collection. The action collection contains all actions that the processor is processing.
getActions in interface IActionProcessorAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setActionsByRef(IActionCollection piActions)
throws java.io.IOException,
AutomationException
IActionProcessor
setActionsByRef in interface IActionProcessorpiActions - A reference to a com.esri.arcgis.trackinganalyst.IActionCollection (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getProcessorWaitTimeOut()
throws java.io.IOException,
AutomationException
IActionProcessorThis property provides a configurable timeout for waiting to be able to process data objects. The default value for this setting is 5 seconds.
getProcessorWaitTimeOut in interface IActionProcessorAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setProcessorWaitTimeOut(int plProcessorWaitTimeOut)
throws java.io.IOException,
AutomationException
IActionProcessorThis property provides a configurable timeout for waiting to be able to process data objects. The default value for this setting is 5 seconds.
setProcessorWaitTimeOut in interface IActionProcessorplProcessorWaitTimeOut - The plProcessorWaitTimeOut (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isExcludeRealtimeActions()
throws java.io.IOException,
AutomationException
IActionProcessor
isExcludeRealtimeActions in interface IActionProcessorAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setExcludeRealtimeActions(boolean pbvarExclude)
throws java.io.IOException,
AutomationException
IActionProcessor
setExcludeRealtimeActions in interface IActionProcessorpbvarExclude - The pbvarExclude (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void checkLayers()
throws java.io.IOException,
AutomationException
IActionProcessor
checkLayers in interface IActionProcessorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void update()
throws java.io.IOException,
AutomationException
IActionUpdate
update in interface IActionUpdateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||