Package cu.repsystestbed.simulation.messages

Source Code of cu.repsystestbed.simulation.messages.RequestFeedbackMsg

package cu.repsystestbed.simulation.messages;

import cu.repsystestbed.exceptions.SimulationException;
import cu.repsystestbed.simulation.Agent;

public class RequestFeedbackMsg extends Message
{

  private Agent assessee;
  public RequestFeedbackMsg(Agent sender, Agent receiver, Agent assessee) throws SimulationException
  {
    super(sender, receiver);
    if(assessee==null)
    {
      String msg = "Assessee is null.";
      logger.error(msg);
      throw new SimulationException(msg);
    }
    this.setAssessee(assessee);
  }
  public void setAssessee(Agent assessee)
  {
    this.assessee = assessee;
  }
  public Agent getAssessee()
  {
    return assessee;
  }
 
 

}
TOP

Related Classes of cu.repsystestbed.simulation.messages.RequestFeedbackMsg

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.