- Timestamp:
- 11/26/13 11:56:07 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/events/ResourceEventCommand.java
r477 r1207 1 1 package schedframe.events; 2 2 3 import schedframe.resources. computing.ComputingResource;3 import schedframe.resources.devices.PhysicalResource; 4 4 5 5 public class ResourceEventCommand implements EventCommand { 6 6 7 private ComputingResource compResource;7 private PhysicalResource resource; 8 8 9 public ResourceEventCommand( ComputingResource compResource) {10 this. compResource = compResource;9 public ResourceEventCommand(PhysicalResource resource) { 10 this.resource = resource; 11 11 } 12 12 … … 17 17 18 18 public void execute(Event event) { 19 compResource.getEventHandler().handleResourceEvent(event);19 resource.getEventHandler().handleResourceEvent(event); 20 20 } 21 21
Note: See TracChangeset
for help on using the changeset viewer.