cz.cuni.amis.pogamut.ut2004.teamcomm.mina.server.messages
Class TCInfoBotLeft

Package class diagram package TCInfoBotLeft
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.teamcomm.mina.messages.TCMessageData
      extended by cz.cuni.amis.pogamut.ut2004.teamcomm.mina.messages.TCInfoData
          extended by cz.cuni.amis.pogamut.ut2004.teamcomm.mina.server.messages.TCInfoBotLeft
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent, cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent, cz.cuni.amis.utils.listener.Event, Serializable

public class TCInfoBotLeft
extends TCInfoData

See Also:
Serialized Form

Field Summary
static cz.cuni.amis.utils.token.IToken MESSAGE_TYPE
           
 
Constructor Summary
TCInfoBotLeft(long requestId, long simTime)
           
 
Method Summary
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getBotId()
           
 int getTeam()
          May be 'negative' in case that the team is unknown (due to internal TCMinaServer error ...
 void setBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
          Who has left the TC server.
 void setTeam(int team)
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.teamcomm.mina.messages.TCInfoData
getRequestId
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.teamcomm.mina.messages.TCMessageData
getMessageType, getSimTime, setMessageType, setSimTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE_TYPE

public static final cz.cuni.amis.utils.token.IToken MESSAGE_TYPE
Constructor Detail

TCInfoBotLeft

public TCInfoBotLeft(long requestId,
                     long simTime)
Method Detail

getBotId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getBotId()

setBotId

public void setBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
Who has left the TC server. May be 'null' in case that it is uknown (due to internal TCMinaServer error ... should not happen at all...).

Parameters:
botId -

getTeam

public int getTeam()
May be 'negative' in case that the team is unknown (due to internal TCMinaServer error ... should not happen at all...).

Returns:

setTeam

public void setTeam(int team)

toString

public String toString()
Overrides:
toString in class TCInfoData


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