このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XCommandProcessor
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: ucb ::

interface XCommandProcessor
Description
defines a 加工業者 for synchronous 命令(する)s, which are 遂行する/発効させるd in a 明確な/細部 死刑執行 環境.
See also
命令(する), XCommandEnvironment, XContent
See also
XCommandProcessor2
for the 改善するd 見解/翻訳/版 of this interface.
Developers Guide
UCB - Services and Interfaces
UCB - 遂行する/発効させるing Content 命令(する)s

Methods' 要約
createCommandIdentifier creates a unique identifier for a 命令(する).  
遂行する/発効させる 遂行する/発効させるs a 命令(する).  
中止する ends the 命令(する) associated with the given id.  
Methods' 詳細(に述べる)s
createCommandIdentifier
long
createCommandIdentifier();

Description
creates a unique identifier for a 命令(する).

This identifier can be used to 中止する the 死刑執行 of the 命令(する) accociated with that identifier. 公式文書,認める that it is 一般に not necessary to 得る a new id for each 命令(する), because 命令(する)s are 遂行する/発効させるd synchronously. So the id for a 命令(する) is valid again after a 命令(する) 以前 associated with this id has finished. In fact you only should get one identifier per thread and 割り当てる it to every 命令(する) 遂行する/発効させるd by that thread.

Also, after a call to XCommandProcessor::中止する, an identifier should not be used any longer (and instead be 解放(する)d by a call to XCommandProcessor2::releaseCommandIdentifier), because it may 井戸/弁護士席 中止する all その上の calls to XCommandProcessor::遂行する/発効させる.

To 避ける ever-増加するing 資源 消費, the identifier should be 解放(する)d 経由で XCommandProcessor2::releaseCommandIdentifier when it is no longer used.

Returns
a 命令(する) identifier.
遂行する/発効させる
any
遂行する/発効させる( [in] 命令(する)  aCommand,
[in] long  CommandId,
[in] XCommandEnvironment  環境 )
raises( ::com::sun::星/主役にする::uno::Exception,
CommandAbortedException );

Description
遂行する/発効させるs a 命令(する).

ありふれた 命令(する) 鮮明度/定義s can be 設立する in the soecification of the service Content.

Parameter aCommand
is the 命令(する) to 遂行する/発効させる.
Parameter CommandId
is a unique id for the 命令(する). This identifier was 得るd by calling XCommandProcessor::createCommandIdentifier. A value of 無 can be used, if the 命令(する) never shall be 中止するd. Different threads MUST NOT 株 one 命令(する) identifier (except 0). This can easily 達成するd, if every thread that wants to use an XCommandProcessor, 得るs 正確に/まさに one identifier using XCommandProcessor::createCommandIdentifier. This identifier can be used for every call to XCommandProcessor::遂行する/発効させる done by that thread.
Parameter 環境
is the 死刑執行 環境.
Returns
the result によれば the specification of the 命令(する).
Throws
CommandAbortedException to 示す that the 命令(する) was 中止するd.
Throws
DuplicateCommandIdentifierException to 示す that two threads tried to use the same 命令(する) identifier
Throws
Exception if an error occured during the 死刑執行 of the 命令(する).
中止する
[oneway] 無効の
中止する( [in] long  CommandId );

Description
ends the 命令(する) associated with the given id.

Not every 命令(する) can be 中止するd. It's up to the 実施 to decide whether this method will 現実に end the 過程ing of the 命令(する) or 簡単に do nothing.

Parameter CommandId
is a unique id for the 命令(する) to 中止する. This must be the identifier passed to XCommandProcessor::遂行する/発効させる for the 命令(する) to 中止する.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.