List of all members.
Detailed Description
Circular Queue implemented to maintain temporally structured events when the Notify Service is down.
- See also:
- SimpleSupplier.publishCORBAEvent
- Author:
- Jorge Avarias <javarias [at] nrao.edu>
Constructor & Destructor Documentation
alma.acs.nc.CircularQueue.CircularQueue |
( |
int |
size |
) |
|
Initializes the Queue with custom value size
- Parameters:
-
| size | the size of the queue |
alma.acs.nc.CircularQueue.CircularQueue |
( |
|
) |
|
Initializes the Queue with default value = 100
Member Function Documentation
void alma.acs.nc.CircularQueue.clear |
( |
|
) |
|
Remove all the elements of the queue
StructuredEvent alma.acs.nc.CircularQueue.pop |
( |
|
) |
|
Insert a structured event at the end of the queue. If the queue is full, inserts the structured event and remove the first event in the queue
- Parameters:
-
| e | the event to be inserted in the queue |
- Exceptions:
-
| EventDroppedException | if the queue dropped an event, but the object will be inserted anyways in the queue and the removed event will be returned in the exception. |
Referenced by alma.acs.nc.SimpleSupplier.publishCORBAEvent().
The documentation for this class was generated from the following file: