From ffbb8ffb5660aece3b3b9f7aee3a11e6b509f3dd Mon Sep 17 00:00:00 2001 From: Rüdiger Timm Date: Tue, 24 Jul 2007 10:28:49 +0000 Subject: 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 --- automation/inc/automation/communi.hxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'automation/inc') 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 -- cgit v1.2.3