Beispiel #1
0
 /// <summary>
 /// Sets the current GMS implementation
 /// </summary>
 /// <param name="new_impl">New GMS implementation</param>
 public void setImpl(GmsImpl new_impl)
 {
     lock (impl_mutex)
     {
         impl = new_impl;
         if (Trace.trace)
         {
             Trace.info("GMS.setImpl()", "changed role to " + new_impl.getName());
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// Sets the current GMS implementation
 /// </summary>
 /// <param name="new_impl">New GMS implementation</param>
 public void setImpl(GmsImpl new_impl)
 {
     lock(impl_mutex)
     {
         impl=new_impl;
         if(Trace.trace) Trace.info("GMS.setImpl()", "changed role to " + new_impl.getName());
     }
 }