com.eurotech.framework.protocol.pcn
Class Pcn1001EventQueue
java.lang.Object
com.eurotech.framework.protocol.pcn.Pcn1001EventQueue
- Direct Known Subclasses:
- CountInfoQueue, LoggingJobQueue, VehicleMotionEventQueue
public abstract class Pcn1001EventQueue
- extends Object
Method Summary |
boolean |
isEmpty()
Reports if queue is empty. |
protected Object |
popEvent()
Pops PCN-1001 event from queue. |
protected void |
pushEvent(Object pcn1001Event)
Puts supplied PCN-1001 event to queue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queue
protected ArrayList queue
Pcn1001EventQueue
protected Pcn1001EventQueue()
- Pcn1001EventQueue constructor
pushEvent
protected void pushEvent(Object pcn1001Event)
- Puts supplied PCN-1001 event to queue.
- Parameters:
pcn1001Event
- - PCN-1001 event as Object
popEvent
protected Object popEvent()
- Pops PCN-1001 event from queue.
- Returns:
- PCN-1001 event as
Object
isEmpty
public boolean isEmpty()
- Reports if queue is empty.
- Returns:
boolean
Copyright © 2013. All Rights Reserved.