com.eurotech.framework.protocol.pcn
Class Pcn1001EventQueue

java.lang.Object
  extended by com.eurotech.framework.protocol.pcn.Pcn1001EventQueue
Direct Known Subclasses:
CountInfoQueue, LoggingJobQueue, VehicleMotionEventQueue

public abstract class Pcn1001EventQueue
extends Object


Field Summary
protected  ArrayList queue
           
 
Constructor Summary
protected Pcn1001EventQueue()
          Pcn1001EventQueue constructor
 
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
 

Field Detail

queue

protected ArrayList queue
Constructor Detail

Pcn1001EventQueue

protected Pcn1001EventQueue()
Pcn1001EventQueue constructor

Method Detail

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.