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.
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 議定書.