Skip to content

Update to the listeners() API (cloudsimplus#613) - #11

Merged
manoelcampos merged 1 commit into
masterfrom
update-listeners-api
Oct 28, 2026
Merged

manoelcampos merged 1 commit into
masterfrom
update-listeners-api

Conversation

@manoelcampos

@manoelcampos manoelcampos commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Updates this project to cloudsimplus/cloudsimplus#613, where the addOn...Listener() methods of the entities moved to the *Listeners views returned by listeners().

Changes

  • CloudletTaskCompletionTimeWithoutMinimizationExperiment: simulation.addOnClockTickListener(...) → simulation.listeners().addOnClockTick(...).

The project compiles and the changed experiment runs to the end without exceptions.

Engineering principles

Principle How it applies
Interface Segregation Principle (ISP) The code registers listeners through the focused SimulationListeners view, instead of a method in the Simulation interface.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manoelcampos manoelcampos self-assigned this Oct 28, 2026
@manoelcampos
manoelcampos merged commit a041580 into master Oct 28, 2026
1 check passed
@manoelcampos
manoelcampos deleted the update-listeners-api branch October 28, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant