org.umber.catalan.queues
Interface IBulkCommandQueue

All Superinterfaces:
ICommandQueue

public interface IBulkCommandQueue
extends ICommandQueue

Catalan queue that allows multiple command grabbing.

Author:
jsheets

Method Summary
 IForgeCommand[] getCommands(ICommandFilter filter)
          Retrieves all commands that match the given filter.
 
Methods inherited from interface org.umber.catalan.queues.ICommandQueue
canQuit, connect, disconnect, getNextCommand, isConnected, sendResult
 

Method Detail

getCommands

public IForgeCommand[] getCommands(ICommandFilter filter)
                            throws CatalanQueueException
Retrieves all commands that match the given filter. This removes them from the queue size count.

Parameters:
filter - command filter
Returns:
matching commands
Throws:
CatalanQueueException - if fatal error occurs