Class ConsumerAgent<R>

java.lang.Object
jadex.micro.producerconsumer.ConsumerAgent<R>

public class ConsumerAgent<R> extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected long
     
    protected jadex.future.FutureBlockingQueue<R>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConsumerAgent(jadex.future.FutureBlockingQueue<R> queue)
     
    ConsumerAgent(jadex.future.FutureBlockingQueue<R> queue, long maxdelay)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    start(jadex.core.IComponent agent)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • queue

      protected jadex.future.FutureBlockingQueue<R> queue
    • maxdelay

      protected long maxdelay
  • Constructor Details

    • ConsumerAgent

      public ConsumerAgent(jadex.future.FutureBlockingQueue<R> queue)
    • ConsumerAgent

      public ConsumerAgent(jadex.future.FutureBlockingQueue<R> queue, long maxdelay)
  • Method Details

    • start

      protected void start(jadex.core.IComponent agent)