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

翻訳前ページへ


Interface XProtocolProperties
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 橋(渡しをする) ::

interface XProtocolProperties
Description
橋(渡しをする) 内部の interface, that 許すs to change 議定書 settings of the remote 反対する part.

In general, this interface is 器具/実施するd by the 橋(渡しをする) itself. It must not be called from outside the 橋(渡しをする).

INTERNAL INTERFACE, DO NOT USE IT ELSEWHERE!


Methods' 要約
getProperties called to get a 名簿(に載せる)/表(にあげる) of 橋(渡しをする) 内部の 所有物/資産/財産s. Which 所有物/資産/財産s can be retrieved, is 議定書 扶養家族.  
requestChange called to 始める a 議定書 change.  
commitChange called to commit a 議定書 change.  
Methods' 詳細(に述べる)s
getProperties
sequence< ProtocolProperty >
getProperties();

Description
called to get a 名簿(に載せる)/表(にあげる) of 橋(渡しをする) 内部の 所有物/資産/財産s. Which 所有物/資産/財産s can be retrieved, is 議定書 扶養家族.

The 所有物/資産/財産s MUST NOT change between a requestChange and a commit change call.

requestChange
long
requestChange( [in] long  nRandomNumber );

Description
called to 始める a 議定書 change.

This method should always be called in the 範囲 of the 地元の 橋(渡しをする) setting 反対する, because the remote 反対する part may do such a call at the same time (typically at startup time).

Parameter nRandomNumber
In 事例/患者 both 過程s call requestChange at the same time, the 報知係 with the higher nRandomNumber is 許すd to call commitChange.
Returns
1, if the 報知係 may ( and MUST !!!) call commitChange. 0, if the 報知係 is not 許すd to call commitChange. This can only happen, if the other 橋(渡しをする) has called requestChange at the same time and nRandomNumber is smaller than the other 橋(渡しをする)'s nRandomNumber. The remote 相当するもの is supposed to call commitChange within a small time (期間が)わたる. Please call requestChange() after the remote 相当するもの has called commitChange(). -1 if the nRandomNumber is of the same value as the 以前 sent requestChange (sent by the remote 相当するもの). This is a draw :o). 生成する a new 無作為の number and try again.
commitChange
無効の
commitChange( [in] sequence< ProtocolProperty >  newValues )
raises( InvalidProtocolChangeException );

Description
called to commit a 議定書 change.

It is only 許すd to call commitChange, if requestChange has been called 以前 and the return value was true. The new 所有物/資産/財産s are valid after the reply of commitChange has been received. 公式文書,認める, that this is difficult for the callee, because it must 保安官 the reply with the old settings.

All 所有物/資産/財産s not について言及するd in the 名簿(に載せる)/表(にあげる) are 不変の. 公式文書,認める that the 橋(渡しをする) must be 封鎖するd for other threads, before commitChange is sent and unblocked after the reply has been received. This 封鎖するs the 橋(渡しをする).

Throws
InvalidProtocolChangeException when the remote 相当するもの could not change at least one of the 所有物/資産/財産s. No 所有物/資産/財産 has been changed. requestChange must be called again to 始める a new change of the 議定書.
最高の,を越す 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.