cz.cuni.pogamut.MessageObjects
Class DeleteFromBatch

java.lang.Object
  extended by cz.cuni.pogamut.MessageObjects.MessageObject
      extended by cz.cuni.pogamut.MessageObjects.DeleteFromBatch
All Implemented Interfaces:
Visible, java.io.Serializable, java.lang.Cloneable

public class DeleteFromBatch
extends MessageObject

This message is sent whenever anything from current batch has to be removed. The parser sends this message whenever it finds that something disappeares from current batch of the bot.

See Also:
Serialized Form

Field Summary
 java.lang.String itemClass
          In case the delete from batch is of type ITEM, this field is filled by the parser so the agent know the ItemClass so it is possible to delete it from batch.
 MessageType msgType
           
 
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
ID, type, types, UnrealID, visible
 
Constructor Summary
DeleteFromBatch(MessageType msgType, java.lang.Integer ID)
           
 
Method Summary
 
Methods inherited from class cz.cuni.pogamut.MessageObjects.MessageObject
clone, diff, equals, getID, getType, getUnrealID, getVisibility, hasID, isVisible, setID, setType, setUnrealID, setVisible, toString, update
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

msgType

public MessageType msgType

itemClass

public java.lang.String itemClass
In case the delete from batch is of type ITEM, this field is filled by the parser so the agent know the ItemClass so it is possible to delete it from batch.

NOTE THAT THIS IS HACK! When new communication will be implemented this will be dropped. (as well as whole delta-message stuff update()/diff())

Constructor Detail

DeleteFromBatch

public DeleteFromBatch(MessageType msgType,
                       java.lang.Integer ID)