tuwien.auto.calimero.buffer
Interface LDataObjectQueue.QueueListener

Enclosing class:
LDataObjectQueue

public static interface LDataObjectQueue.QueueListener

Listener for queue events.

A notification callback is invoked synchronized with the event source, so the listener will have a consistent view of the queue during that time, allowing to take appropriate actions. During the callback no concurrent changes to the queue object are possible.


Method Summary
 void queueFilled(LDataObjectQueue queue)
          Called on a full queue.
 

Method Detail

queueFilled

void queueFilled(LDataObjectQueue queue)
Called on a full queue. A notification is sent only once every time a queue got filled up. In other words, no notifying is done by an already full queue on receiving another frame.

Parameters:
queue - event source, the queue which reached its maximum size