com.caucho.bam.mailbox
Class MailboxQueue2

java.lang.Object
  extended by com.caucho.env.actor.ValueActorQueue<Packet>
      extended by com.caucho.bam.mailbox.MailboxQueue2
All Implemented Interfaces:
ActorQueueApi<Packet>

public class MailboxQueue2
extends ValueActorQueue<Packet>

Queue/worker for a mailbox.


Constructor Summary
MailboxQueue2(int capacity, ActorProcessor<Packet> processor)
           
 
Method Summary
 
Methods inherited from class com.caucho.env.actor.ValueActorQueue
close, getAvailable, getSize, isEmpty, offer, offer, toString, wake
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailboxQueue2

public MailboxQueue2(int capacity,
                     ActorProcessor<Packet> processor)
Parameters:
capacity -
processor -