Class RequestAnswer

java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.Entity

public final class RequestAnswer extends Request
Wrapper class to ease responding to Requests.

Represents the answering of a Request.

Author:
Lion Wagner
  • Constructor Details

  • Method Details

    • getAnswerSender

      public MicroserviceInstance getAnswerSender()
    • unpack

      public Request unpack()
      Unpack the original Request that is answered by this Request.
      Returns:
      the request, that is wrapped by this answer