org.lwes.listener
Interface QueueElement

All Known Implementing Classes:
DatagramQueueElement

public interface QueueElement

Interface needed to define queue elements, which encapsulate incoming events

Author:
Michael P. Lum

Method Summary
 long getTimestamp()
          Get the timestamp this event was created
 void setTimestamp(long timestamp)
          Sets the timestamp for this event
 

Method Detail

getTimestamp

long getTimestamp()
Get the timestamp this event was created

Returns:
the timestamp

setTimestamp

void setTimestamp(long timestamp)
Sets the timestamp for this event

Parameters:
timestamp - the timestamp