Ignore:
Timestamp:
11/26/13 11:56:07 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/events/ResourceEventCommand.java

    r477 r1207  
    11package schedframe.events; 
    22 
    3 import schedframe.resources.computing.ComputingResource; 
     3import schedframe.resources.devices.PhysicalResource; 
    44 
    55public class ResourceEventCommand implements EventCommand { 
    66 
    7         private ComputingResource compResource; 
     7        private PhysicalResource resource; 
    88         
    9         public ResourceEventCommand(ComputingResource compResource) { 
    10                 this.compResource = compResource; 
     9        public ResourceEventCommand(PhysicalResource resource) { 
     10                this.resource = resource; 
    1111        } 
    1212         
     
    1717 
    1818        public void execute(Event event) { 
    19                 compResource.getEventHandler().handleResourceEvent(event); 
     19                resource.getEventHandler().handleResourceEvent(event); 
    2020        } 
    2121 
Note: See TracChangeset for help on using the changeset viewer.