Beispiel #1
0
 /**
  * Create an offer based on the request.
  *
  * @param request The request this offer is for
  * @param queue The request queue that is sending this offer to the agents.
  * @param rejectionTimeout the number of milliseconds to wait until expiring an agent rejection.
  */
 public Offer(Request request, RequestQueue queue, long rejectionTimeout) {
   this.request = request;
   this.queue = queue;
   this.rejectionTimeout = rejectionTimeout;
   offerTime = new Date();
   cancelled = false;
   invitationSent = false;
   request.setOffer(this);
 }