Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lutris.util
Class OutputStreamEventQueueEntry  view OutputStreamEventQueueEntry download OutputStreamEventQueueEntry.java

java.lang.Object
  extended bycom.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.


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.
 
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.


OutputStreamEventQueueEntry

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