summaryrefslogtreecommitdiff
path: root/Ivy/IvyApplication.h
diff options
context:
space:
mode:
authorfcolin2009-10-08 13:07:04 +0000
committerfcolin2009-10-08 13:07:04 +0000
commit00e97f3decde46e85fba871a20aa79e27cb679e3 (patch)
tree31084ff19777b8cbe36b1eeb9d979370a33f79d7 /Ivy/IvyApplication.h
parent773d105e88a4323b844b378e599e2884310eaa50 (diff)
downloadivy-cplusplus-00e97f3decde46e85fba871a20aa79e27cb679e3.zip
ivy-cplusplus-00e97f3decde46e85fba871a20aa79e27cb679e3.tar.gz
ivy-cplusplus-00e97f3decde46e85fba871a20aa79e27cb679e3.tar.bz2
ivy-cplusplus-00e97f3decde46e85fba871a20aa79e27cb679e3.tar.xz
correction des bug connexion concurrente
correction sur le ready message attente des deux endRegexp
Diffstat (limited to 'Ivy/IvyApplication.h')
-rw-r--r--Ivy/IvyApplication.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Ivy/IvyApplication.h b/Ivy/IvyApplication.h
index 7191400..8132560 100644
--- a/Ivy/IvyApplication.h
+++ b/Ivy/IvyApplication.h
@@ -51,10 +51,14 @@ public:
void Create( const char * host, UINT &port, const char* name );
virtual void OnAccept(int nErrorCode);
virtual void OnClose(int nErrorCode);
-
-
+protected:
+ void SendReadyToPeer();
+
// Implementation
protected:
+ int readyToSend;
+ CRITICAL_SECTION m_SendReadySection;
+
ivy::string appname;
bool AppConnectedCallbackCalled;
Ivy *bus;