Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5b066bc3
Kaydet (Commit)
5b066bc3
authored
Şub 09, 2014
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Typo: (a)synchronoues -> a(synchronous)
Change-Id: Ia3871d711308eb38ed6e0df81615966cc142030d
üst
94bc29cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
frame.cxx
framework/source/services/frame.cxx
+1
-1
IOnewayLink.java
...lopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
+2
-2
OnewayExecutor.java
...ersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
+1
-1
StatusListener.java
...ersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+1
-1
No files found.
framework/source/services/frame.cxx
Dosyayı görüntüle @
5b066bc3
...
...
@@ -2667,7 +2667,7 @@ void SAL_CALL Frame::windowDeactivated( const css::lang::EventObject& aEvent ) t
void
SAL_CALL
Frame
::
windowClosing
(
const
css
::
lang
::
EventObject
&
)
throw
(
css
::
uno
::
RuntimeException
)
{
/* #i62088#
Some interceptor objects intercept our "internally asynchronou
e
s implemented" dispatch call.
Some interceptor objects intercept our "internally asynchronous implemented" dispatch call.
And they close this frame directly (means synchronous then).
Means: Frame::windowClosing()->Frame::close()
In such situation its not a good idea to hold this transaction count alive .-)
...
...
odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/IOnewayLink.java
Dosyayı görüntüle @
5b066bc3
...
...
@@ -39,9 +39,9 @@ import java.util.ArrayList;
/**
* We need a generic interface to forward any oneway uno interface method
* by using threads to the original object. Reason:
* It's not allowed to call synchronou
e
s back to the office if a java object
* It's not allowed to call synchronous back to the office if a java object
* was called in a oneway declared interface method. Then it must be
* executed asynchronou
e
s. To do so - a thread can be created which use this
* executed asynchronous. To do so - a thread can be created which use this
* interface. It get the object, which whis to be called back and the type and
* parameter of the original request.
*
...
...
odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
Dosyayı görüntüle @
5b066bc3
...
...
@@ -37,7 +37,7 @@ import java.util.ArrayList;
// __________ Implementation __________
/**
* It's not allowed to call synchronou
e
s back inside an oneway interface call.
* It's not allowed to call synchronous back inside an oneway interface call.
* (see IOnewayLink too). So we start a thread (implemented by this class), which
* gets all necessary parameters from the original called object and
* call it back later inside his run() method. So the execution of such oneway call
...
...
odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
Dosyayı görüntüle @
5b066bc3
...
...
@@ -57,7 +57,7 @@ import com.sun.star.uno.UnoRuntime;
* internal holded dispatch object automaticly.
*
* Another reason for such extra class for listening:
* Most listener callbacks are asynchronou
e
s [oneay] requests.
* Most listener callbacks are asynchronous [oneay] requests.
* And it's not allowed to call back synchronously there.
* So we must start threads for updating something internally.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment