diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-24 10:28:49 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-24 10:28:49 +0000 |
commit | ffbb8ffb5660aece3b3b9f7aee3a11e6b509f3dd (patch) | |
tree | cb113be6c5233efc9efcdc897b6f3f76363aa13c /automation/inc/automation | |
parent | 81651d1cfb9f84ee2ce461b90521fa2316d607fa (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.hxx | 9 |
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 |