Skip to content
This repository was archived by the owner on Nov 15, 2025. It is now read-only.
This repository was archived by the owner on Nov 15, 2025. It is now read-only.

How can I add reservation and meter reading #21

Description

@meran

Hi,
I am using the example scale form the repo named continuous-remote-listening.scala

I was wondering, how I can add meter reading (estimation cost ) and printing the output ?
I also found that in order to perform reservation I can use:

val resNum= expectIncoming(reserveNowReq.respondingWith(ReserveNowRes(Reservation.Accepted)))(noTimeout)
var reID= resNum.reservationId

The problem is that I want my simulator to be able to perform charging or reservation without prior preparation. How can I achieve it?

Do you have any relevant examples for that ?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions