:: com :: sun :: star :: ucb ::

interface XCommandProcessor2
Base Interfaces
XCommandProcessor2
┗ ::com::sun::star::ucb::XCommandProcessor

::com::sun::star::ucb::XCommandProcessor
(referenced interface's summary:)
defines a processor for synchronous commands, which are executed in a specific execution environment.
Description
An improved version of a ::com::sun::star::ucb::XCommandProcessor that helps avoid ever-increasing resource consumption.
Developers Guide
Methods' Summary
releaseCommandIdentifier releases a command identifier obtainded through ::com::sun::star::ucb::XCommandProcessor::createCommandIdentifier when it is no longer used.  
Methods' Details
releaseCommandIdentifier
[oneway] void
releaseCommandIdentifier( [in] long  CommandId );

Description
releases a command identifier obtainded through ::com::sun::star::ucb::XCommandProcessor::createCommandIdentifier when it is no longer used.

After this call the command identifier cannot be used any longer in calls to ::com::sun::star::ucb::XCommandProcessor::execute and ::com::sun::star::ucb::XCommandProcessor::abort . (But it can happen that a call to ::com::sun::star::ucb::XCommandProcessor::createCommandIdentifier reuses this identifier.)

Parameter CommandId
A command identifier obtained through ::com::sun::star::ucb::XCommandProcessor::createCommandIdentifier . If the identifier is zero, the request is silently ignored; but if the identifier is invalid (not obtained via ::com::sun::star::ucb::XCommandProcessor::createCommandIdentifier or already handed to ::com::sun::star::ucb::XCommandProcessor2::releaseCommandIdentifier before), the behaviour is undefined.
Top of Page