| org.cougaar.mts.base.QueueProviderService
QueueProviderService | public interface QueueProviderService extends Service(Code) | | Generic service specialized by DestinationQueueProviderService and
SendQueueProviderService. The methods at this level handle queue
"events" registration as well as the removal of messages.
|
addListener | void addListener(QueueListener listener)(Code) | | Add the given listener to the list of those receiving callbacks
for queue events. Listeners will be notified of queue events
via callback.
|
removeListener | void removeListener(QueueListener listener)(Code) | | Removes the given listener from the list of those receiving callbacks
for queue events.
|
removeMessages | void removeMessages(UnaryPredicate predicate, ArrayList removed)(Code) | | Removes any messages matching the given predicate, in all
relevant queues. Each removed message is added to the given
ArrayList.
|
|
|