org.ceno.protocol.event
Class QueryMessagesEvent

java.lang.Object
  extended by org.ceno.protocol.event.ReturnableEvent<Messages>
      extended by org.ceno.protocol.event.QueryMessagesEvent
All Implemented Interfaces:
java.io.Serializable, IEvent, ITrackerProtocol

public class QueryMessagesEvent
extends ReturnableEvent<Messages>
implements ITrackerProtocol, java.io.Serializable

Since:
0.0.2
Author:
Andre Albert <andre.albert82@googlemail.com>
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.ceno.protocol.ITrackerProtocol
ACTIVATE_SIGNAL, CLOSE_SIGNAL, DEACTIVATE_SIGNAL, LOGIN_SIGNAL, LOGOUT_SIGNAL, OPEN_SIGNAL, PROTOCOL_NAME, QUERY_DEVELOPER_STATES, QUERY_MESSAGES, SEND_MESSAGE_SIGNAL, SYNCH_SIGNAL
 
Constructor Summary
QueryMessagesEvent()
           
 
Method Summary
 java.util.Date getLastTimestamp()
           
 Developer getSender()
           
 short getSignalId()
          
 void setLastTimestamp(java.util.Date lastTimestamp)
           
 void setSender(Developer receiver)
           
 
Methods inherited from class org.ceno.protocol.event.ReturnableEvent
getResult, getTimestamp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryMessagesEvent

public QueryMessagesEvent()
Method Detail

getSignalId

public short getSignalId()

Specified by:
getSignalId in interface IEvent
Returns:
the id that identifies the signal that raises this event
See Also:
constants of the protocol interface for supported signals

getSender

public Developer getSender()
Returns:
the sender

setSender

public void setSender(Developer receiver)
Parameters:
sender - the sender to set

getLastTimestamp

public java.util.Date getLastTimestamp()
Returns:
the lastTimestamp

setLastTimestamp

public void setLastTimestamp(java.util.Date lastTimestamp)
Parameters:
lastTimestamp - the lastTimestamp to set