com.eurotech.framework.protocol.pcn
Class LoggingJobQueue

java.lang.Object
  extended by com.eurotech.framework.protocol.pcn.Pcn1001EventQueue
      extended by com.eurotech.framework.protocol.pcn.LoggingJobQueue

public class LoggingJobQueue
extends Pcn1001EventQueue

Defines logging job queue.

Author:
ilya.binshtok

Field Summary
 
Fields inherited from class com.eurotech.framework.protocol.pcn.Pcn1001EventQueue
queue
 
Constructor Summary
LoggingJobQueue()
          LoggingJobQueue constructor
 
Method Summary
 LogEntry pop()
          Pops log entry from queue.
 void push(LogEntry logEntry)
          Puts supplied log entry to queue.
 
Methods inherited from class com.eurotech.framework.protocol.pcn.Pcn1001EventQueue
isEmpty, popEvent, pushEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingJobQueue

public LoggingJobQueue()
LoggingJobQueue constructor

Method Detail

push

public void push(LogEntry logEntry)
Puts supplied log entry to queue.

Parameters:
job - - log entry as LogEntry

pop

public LogEntry pop()
Pops log entry from queue.

Returns:
log entry removed as LogEntry


Copyright © 2013. All Rights Reserved.