summaryrefslogtreecommitdiff
path: root/automation/inc/automation
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-07-24 10:28:49 +0000
committerRüdiger Timm <rt@openoffice.org>2007-07-24 10:28:49 +0000
commitffbb8ffb5660aece3b3b9f7aee3a11e6b509f3dd (patch)
treecb113be6c5233efc9efcdc897b6f3f76363aa13c /automation/inc/automation
parent81651d1cfb9f84ee2ce461b90521fa2316d607fa (diff)
INTEGRATION: CWS gurke (1.2.10); FILE MERGED
2007/07/20 08:03:32 gh 1.2.10.1: #148724#testtool communication crashes on shutdown in Timer::Timeout
Diffstat (limited to 'automation/inc/automation')
-rw-r--r--automation/inc/automation/communi.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/automation/inc/automation/communi.hxx b/automation/inc/automation/communi.hxx
index 48553109d2ab..2bc4ddaa76b6 100644
--- a/automation/inc/automation/communi.hxx
+++ b/automation/inc/automation/communi.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: communi.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2007-04-11 18:20:35 $
+ * last change: $Author: rt $ $Date: 2007-07-24 11:28:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -69,6 +69,9 @@ public:
virtual BOOL IsLinkValid( CommunicationLink* pCL );
virtual USHORT GetCommunicationLinkCount();
virtual CommunicationLinkRef GetCommunicationLink( USHORT nNr );
+
+ void DoQuickShutdown( BOOL bQuickShutdown = TRUE) { bGracefullShutdown = !bQuickShutdown; }
+
protected:
virtual void CallConnectionOpened( CommunicationLink* pCL );
virtual void CallConnectionClosed( CommunicationLink* pCL );
@@ -76,6 +79,8 @@ protected:
CommunicationLinkList *InactiveLinks; /// Hier sind die CommunicationLinks drin, die sich noch nicht selbst abgemeldet haben.
/// allerdings schon ein StopCommunication gekriegt haben, bzw ein ConnectionTerminated
virtual void DestroyingLink( CommunicationLink *pCL ); // Link trägt sich im Destruktor aus
+
+ BOOL bGracefullShutdown;
};
class CommunicationManagerServer : public MultiCommunicationManager