cz.cuni.amis.pogamut.defcon.communication.messages.infos
Class QueueItem

Package class diagram package QueueItem
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConObject
      extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.QueueItem
All Implemented Interfaces:
IWorldObject

public class QueueItem
extends DefConObject

WTF object from the world.


Constructor Summary
QueueItem(int id, double time)
          Creates new instance of object QueueItem with specific id.
QueueItem(QueueItem original)
          Cloning constructor...
 
Method Summary
 String toHtmlString()
          Returns message in html format.
 String toString()
          Returns human readable serialization of the message.
 
Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConObject
createDestroyedEvent, createUpdateEvent, getDestroyed, getId, getLastSeenTime, getSimTime, getStringizedFields, getType, setLastSeenTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueItem

public QueueItem(int id,
                 double time)
Creates new instance of object QueueItem with specific id. WTF object from the world.

Parameters:
id - Game id of this object.
time - Time of last update of this object (time of first spotting in this case).

QueueItem

public QueueItem(QueueItem original)
Cloning constructor...

Parameters:
original -
Method Detail

toString

public String toString()
Returns human readable serialization of the message.

Overrides:
toString in class Object
Returns:
human readable string

toHtmlString

public String toHtmlString()
Returns message in html format.

Returns:
html message


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.