interface XCommandProcessor2 in module com::sun::star::ucb::

(Global Index)

Syntax

interface XCommandProcessor2 : com::sun::star::ucb::XCommandProcessor ;

Description

An improved version of a com::sun::star::ucb::XCommandProcessor that helps avoid ever-increasing resource consumption.

Method Summary

releaseCommandIdentifier releases a command identifier obtainded through XCommandProcessor::createCommandIdentifier when it is no longer used.

Method Details



releaseCommandIdentifier

Syntax

oneway void releaseCommandIdentifier (
long CommandId );

Description

releases a command identifier obtainded through XCommandProcessor::createCommandIdentifier when it is no longer used.

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

Parameter CommandId

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