org.apache.james.jspf.executor
Interface IResponseQueue

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.List

public interface IResponseQueue
extends java.util.List

Queue implementation which is used to manage IResponse


Method Summary
 void insertResponse(IResponse r)
          Add the given Response to the end of the queue.
 IResponse removeResponse()
          Return the last IResponse in the queue.
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

removeResponse

IResponse removeResponse()
Return the last IResponse in the queue. If the queue is empty it will wait until a IResponse was added

Returns:
response

insertResponse

void insertResponse(IResponse r)
Add the given Response to the end of the queue.

Parameters:
r -


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.