Changeset 713

Show
Ignore:
Timestamp:
07/20/07 16:17:36 (1 year ago)
Author:
kindlund
Message:

Migrated the updateState call to be fatal in Manager.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/kindlund-firefox/lib/HoneyClient/Manager.pm

    r710 r713  
    649649    sleep (2); 
    650650 
    651     # Recreate the client stub; ignore faults. 
    652     $stubAgent = getClientHandle(namespace     => "HoneyClient::Agent", 
    653                                  address       => $vmIP, 
    654                                  fault_handler => \&_handleFault); 
    655  
    656     # Recreate the firewall stub; ignore faults. 
    657     $stubFW = getClientHandle(namespace     => "HoneyClient::Manager::FW", 
    658                               fault_handler => \&_handleFault); 
    659  
    660651    # Call updateState() first, to seed initial data. 
    661652    # TODO: Need to support asynchronous updates (url adding) 
     
    663654    print "Calling updateState()...\n"; 
    664655    $som = $stubAgent->updateState($args{'agent_state'}); 
     656 
     657    # Recreate the client stub; ignore faults. 
     658    $stubAgent = getClientHandle(namespace     => "HoneyClient::Agent", 
     659                                 address       => $vmIP, 
     660                                 fault_handler => \&_handleFault); 
     661 
     662    # Recreate the firewall stub; ignore faults. 
     663    $stubFW = getClientHandle(namespace     => "HoneyClient::Manager::FW", 
     664                              fault_handler => \&_handleFault); 
    665665 
    666666    for (my $counter = 1;; $counter++) {