EAF 7.6 Implementation

com.lutris.util
Class OutputStreamEventQueueEntry

java.lang.Object
  extended by com.lutris.util.OutputStreamEventQueueEntry

public class OutputStreamEventQueueEntry
extends java.lang.Object

This is a helper class for OutputStreamEventQueue. It describes one event (one call to write()). Only the OutputStreamEventQueue should create instances of this class.

Author:
Andy John
See Also:
OutputStreamEventQueue

Field Summary
 byte[] data
          The data.
 java.util.Date when
          The time when the event was created (when write() was called).
 
Constructor Summary
protected OutputStreamEventQueueEntry()
          Only the OutputStreamEventQueue should create instances of this class.
protected OutputStreamEventQueueEntry(java.util.Date when, byte[] data)
          Only the OutputStreamEventQueue should create instances of this class.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

when

public java.util.Date when
The time when the event was created (when write() was called).


data

public byte[] data
The data. This is what was written by the write() call.

Constructor Detail

OutputStreamEventQueueEntry

protected OutputStreamEventQueueEntry()
Only the OutputStreamEventQueue should create instances of this class.

See Also:
OutputStreamEventQueue

OutputStreamEventQueueEntry

protected OutputStreamEventQueueEntry(java.util.Date when,
                                      byte[] data)
Only the OutputStreamEventQueue should create instances of this class.

See Also:
OutputStreamEventQueue

EAF 7.6 Implementation