net.sf.jour.rt.agent
Class EventQueueLogger

java.lang.Object
  extended bynet.sf.jour.rt.agent.EventQueueLogger
All Implemented Interfaces:
EventLogger

public class EventQueueLogger
extends java.lang.Object
implements EventLogger

Author:
Misha TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Method Summary
 void close()
           
 boolean enqueueAll(Queue events)
          Inserts a Collection of new element at the rear of the queue.
 Event getEvent()
          DOCUMENT ME!
 Event[] getEventsFromQueue()
          DOCUMENT ME!
static EventLogger getInstance()
          DOCUMENT ME!
 void logEvent(Event event)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static EventLogger getInstance()
DOCUMENT ME!

Returns:
DOCUMENT ME!

logEvent

public void logEvent(Event event)
DOCUMENT ME!

Specified by:
logEvent in interface EventLogger
Parameters:
event - DOCUMENT ME!

enqueueAll

public boolean enqueueAll(Queue events)
Inserts a Collection of new element at the rear of the queue.


getEvent

public Event getEvent()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getEventsFromQueue

public Event[] getEventsFromQueue()
DOCUMENT ME!

Returns:
DOCUMENT ME!

close

public void close()
Specified by:
close in interface EventLogger


Copyright © 2004 sourceforge. All Rights Reserved.