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

Package class diagram package VoteFinishedNo
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent
      extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConWorldEvent
          extended by cz.cuni.amis.pogamut.defcon.communication.messages.infos.VoteFinishedNo
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, cz.cuni.amis.utils.listener.Event, IDefConBasicEvent

public class VoteFinishedNo
extends DefConWorldEvent

Vote has finished with a "no" decision event from the world.


Constructor Summary
VoteFinishedNo(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message VoteFinishedNo.
 
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.DefConWorldEvent
getCauseObjectId, getEventType, getLocation, getStringizedFields, getTargetObjectId, getUnitType
 
Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.infos.DefConEvent
getSimTime, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VoteFinishedNo

public VoteFinishedNo(Event eventType,
                      int causeObjectId,
                      int targetObjectId,
                      UnitType unitType,
                      DefConLocation location,
                      double time)
Creates new instance of message VoteFinishedNo. Vote has finished with a "no" decision event from the world.

Parameters:
eventType -
causeObjectId -
targetObjectId -
unitType -
location -
time -
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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.