org.ijsberg.iglu.util.io
Interface Queue

All Known Implementing Classes:
ReceiverQueue

public interface Queue

Object queue.


Method Summary
 int available()
           
 void close()
          Should be invoked if an object reading the queue is no longer interested.
 boolean isClosed()
           
 Object read()
          Reads (and removes) an object from a queue.
 

Method Detail

read

Object read()
Reads (and removes) an object from a queue.

Returns:

available

int available()
Returns:
the number of objects queued

close

void close()
Should be invoked if an object reading the queue is no longer interested.


isClosed

boolean isClosed()
Returns:


Copyright © 2011. All Rights Reserved.