certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

certi RTIA/FederationManagement.cc RTIA/Federat...


From: certi-cvs
Subject: certi RTIA/FederationManagement.cc RTIA/Federat...
Date: Wed, 31 Oct 2007 09:42:27 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     ROUSSELOT <rousse>      07/10/31 09:42:27

Modified files:
        RTIA           : FederationManagement.cc FederationManagement.hh 
        libCERTI       : Message_R.cc Message_W.cc 

Log message:
        synchronizationPointRegistrationFailed added

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/FederationManagement.cc?cvsroot=certi&r1=3.30&r2=3.31
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/FederationManagement.hh?cvsroot=certi&r1=3.17&r2=3.18
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Message_R.cc?cvsroot=certi&r1=3.5&r2=3.6
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Message_W.cc?cvsroot=certi&r1=3.6&r2=3.7

Patches:
Index: RTIA/FederationManagement.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/FederationManagement.cc,v
retrieving revision 3.30
retrieving revision 3.31
diff -u -b -r3.30 -r3.31
--- RTIA/FederationManagement.cc        28 Sep 2007 14:07:53 -0000      3.30
+++ RTIA/FederationManagement.cc        31 Oct 2007 09:42:27 -0000      3.31
@@ -18,7 +18,7 @@
 // along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: FederationManagement.cc,v 3.30 2007/09/28 14:07:53 rousse Exp $
+// $Id: FederationManagement.cc,v 3.31 2007/10/31 09:42:27 rousse Exp $
 // ----------------------------------------------------------------------------
 
 #include <config.h>
@@ -578,6 +578,28 @@
 
 // ----------------------------------------------------------------------------
 void FederationManagement::
+synchronizationPointRegistrationFailed(const char *label)
+{
+    D.Out(pdInit, "Synchronization Point Registration Failed \"%s\".",
+          label);
+
+    Message req, rep ;
+
+    G.Out(pdGendoc,"enter 
FederationManagement::synchronizationPointRegistrationFailed");
+
+    assert(label != NULL);
+
+    req.type = Message::SYNCHRONIZATION_POINT_REGISTRATION_FAILED ;
+    req.setLabel(label);
+
+    comm->requestFederateService(&req, &rep);
+
+    G.Out(pdGendoc,"exit  
FederationManagement::synchronizationPointRegistrationFailed");
+
+}
+
+// ----------------------------------------------------------------------------
+void FederationManagement::
 synchronizationPointRegistrationSucceeded(const char *label)
 {
     D.Out(pdInit, "Synchronization Point Registration Succeeded \"%s\".",
@@ -872,4 +894,4 @@
 
 }} // namespace certi/rtia
 
-// $Id: FederationManagement.cc,v 3.30 2007/09/28 14:07:53 rousse Exp $
+// $Id: FederationManagement.cc,v 3.31 2007/10/31 09:42:27 rousse Exp $

Index: RTIA/FederationManagement.hh
===================================================================
RCS file: /sources/certi/certi/RTIA/FederationManagement.hh,v
retrieving revision 3.17
retrieving revision 3.18
diff -u -b -r3.17 -r3.18
--- RTIA/FederationManagement.hh        28 Sep 2007 14:07:53 -0000      3.17
+++ RTIA/FederationManagement.hh        31 Oct 2007 09:42:27 -0000      3.18
@@ -18,7 +18,7 @@
 // along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: FederationManagement.hh,v 3.17 2007/09/28 14:07:53 rousse Exp $
+// $Id: FederationManagement.hh,v 3.18 2007/10/31 09:42:27 rousse Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _CERTI_RTIA_FEDERATION_MANAGEMENT
@@ -69,6 +69,7 @@
                                  TypeException &e);
     void unregisterSynchronization(const char *label,
                                    TypeException &e);
+    void synchronizationPointRegistrationFailed(const char *label);
     void synchronizationPointRegistrationSucceeded(const char *label);
     void federationSynchronized(const char *label);
     void announceSynchronizationPoint(const char *label,
@@ -121,4 +122,4 @@
 
 #endif // _CERTI_RTIA_FEDERATION_MANAGEMENT
 
-// $Id: FederationManagement.hh,v 3.17 2007/09/28 14:07:53 rousse Exp $
+// $Id: FederationManagement.hh,v 3.18 2007/10/31 09:42:27 rousse Exp $

Index: libCERTI/Message_R.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/Message_R.cc,v
retrieving revision 3.5
retrieving revision 3.6
diff -u -b -r3.5 -r3.6
--- libCERTI/Message_R.cc       30 Oct 2007 15:24:47 -0000      3.5
+++ libCERTI/Message_R.cc       31 Oct 2007 09:42:27 -0000      3.6
@@ -17,7 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: Message_R.cc,v 3.5 2007/10/30 15:24:47 rousse Exp $
+// $Id: Message_R.cc,v 3.6 2007/10/31 09:42:27 rousse Exp $
 // ----------------------------------------------------------------------------
 
 
@@ -108,6 +108,7 @@
             break ;
 
           // Body contains label
+          case SYNCHRONIZATION_POINT_REGISTRATION_FAILED:
           case SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED:
           case SYNCHRONIZATION_POINT_ACHIEVED:
           case FEDERATION_SYNCHRONIZED:
@@ -484,6 +485,7 @@
       case CREATE_FEDERATION_EXECUTION:
       case DESTROY_FEDERATION_EXECUTION:
       case REGISTER_FEDERATION_SYNCHRONIZATION_POINT:
+      case SYNCHRONIZATION_POINT_REGISTRATION_FAILED:
       case SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED:
       case ANNOUNCE_SYNCHRONIZATION_POINT:
       case SYNCHRONIZATION_POINT_ACHIEVED:
@@ -699,4 +701,4 @@
 
 } // namespace certi
 
-// $Id: Message_R.cc,v 3.5 2007/10/30 15:24:47 rousse Exp $
+// $Id: Message_R.cc,v 3.6 2007/10/31 09:42:27 rousse Exp $

Index: libCERTI/Message_W.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/Message_W.cc,v
retrieving revision 3.6
retrieving revision 3.7
diff -u -b -r3.6 -r3.7
--- libCERTI/Message_W.cc       30 Oct 2007 15:24:47 -0000      3.6
+++ libCERTI/Message_W.cc       31 Oct 2007 09:42:27 -0000      3.7
@@ -17,7 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: Message_W.cc,v 3.6 2007/10/30 15:24:47 rousse Exp $
+// $Id: Message_W.cc,v 3.7 2007/10/31 09:42:27 rousse Exp $
 // ----------------------------------------------------------------------------
 
 
@@ -124,6 +124,7 @@
             break ;
 
           // Body contains label (i.e. String)
+          case SYNCHRONIZATION_POINT_REGISTRATION_FAILED:
           case SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED:
           case SYNCHRONIZATION_POINT_ACHIEVED:
           case FEDERATION_SYNCHRONIZED:
@@ -262,7 +263,7 @@
             body.writeLongInt(space);
             break ;
 
-          // Body contains federate,federatioName,federateName
+          // Body contains federate,federationName,federateName
           case JOIN_FEDERATION_EXECUTION:
             body.writeShortInt(federate);
             body.writeString(federationName);
@@ -509,6 +510,7 @@
       case CREATE_FEDERATION_EXECUTION:
       case DESTROY_FEDERATION_EXECUTION:
       case REGISTER_FEDERATION_SYNCHRONIZATION_POINT:
+      case SYNCHRONIZATION_POINT_REGISTRATION_FAILED:
       case SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED:
       case ANNOUNCE_SYNCHRONIZATION_POINT:
       case SYNCHRONIZATION_POINT_ACHIEVED:
@@ -684,4 +686,4 @@
 
 } // namespace certi
 
-// $Id: Message_W.cc,v 3.6 2007/10/30 15:24:47 rousse Exp $
+// $Id: Message_W.cc,v 3.7 2007/10/31 09:42:27 rousse Exp $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]