coreRuntime/src/sc/sync/SyncManager.java
public void nameChangeAck(String oldName, String newName) {
         Object inst = objectIndex.get(oldName);
         if (inst == null)
            System.err.println("*** receiveNameChange - object not found to change name from: " + oldName + " to: " + newName);
         else {
            InstInfo ii = syncInsts.get(inst);
            if (ii == null)
               return;
            if (ii.name != null && ii.name.equals(newName) && ii.oldName != null && ii.oldName.equals(oldName)) {
               objectIndex.remove(oldName);
               ii.oldName = null;
               if (trace || verbose || verboseValues) {
                  System.out.println("Completed name change of: " + DynUtil.getInstanceName(inst) + " from: " + oldName + " to: " + newName);
               }
            }
            else
               System.err.println("*** confirmNameChange for instance out of sync");
         }
      }
/** Called from the deserializer when we receive the name change ack */
Called from the deserializer when we receive the name change ack
Called from the deserializer when we receive the name change ack
public void nameChangeAck(String oldName, String newName) {
         Object inst = objectIndex.get(oldName);
         if (inst == null)
            System.err.println("*** receiveNameChange - object not found to change name from: " + oldName + " to: " + newName);
         else {
            InstInfo ii = syncInsts.get(inst);
            if (ii == null)
               return;
            if (ii.name != null && ii.name.equals(newName) && ii.oldName != null && ii.oldName.equals(oldName)) {
               objectIndex.remove(oldName);
               ii.oldName = null;
               if (trace || verbose || verboseValues) {
                  System.out.println("Completed name change of: " + DynUtil.getInstanceName(inst) + " from: " + oldName + " to: " + newName);
               }
            }
            else
               System.err.println("*** confirmNameChange for instance out of sync");
         }
      }
public void nameChangeAck ( String oldName , String newName ) { Object inst = objectIndex . get ( oldName ) ; if ( inst == null ) System . err . println ( "*** receiveNameChange - object not found to change name from: " + oldName + " to: " + newName ) ; else { InstInfo ii = syncInsts . get ( inst ) ; if ( ii == null ) return ; if ( ii . name != null && ii . name . equals ( newName ) && ii . oldName != null && ii . oldName . equals ( oldName ) ) { objectIndex . remove ( oldName ) ; ii . oldName = null ; if ( trace || verbose || verboseValues ) { System . out . println ( "Completed name change of: " + DynUtil . getInstanceName ( inst ) + " from: " + oldName + " to: " + newName ) ; } } else System . err . println ( "*** confirmNameChange for instance out of sync" ) ; } }
Called from the deserializer when we receive the name change ack
Called from the deserializer when we receive the name change ack