netbattle.messages
Class AddBattleMessage

java.lang.Object
  extended by netbattle.messages.NetMessage
      extended by netbattle.messages.AddBattleMessage
All Implemented Interfaces:
java.io.Serializable

public class AddBattleMessage
extends NetMessage

See Also:
Serialized Form

Field Summary
 
Fields inherited from class netbattle.messages.NetMessage
ACCEPT_CHALLENGE, ACCEPTED_CHALLENGE, ACTIVITY_MESSAGE, ADD_BATTLE, BAN_USER, BATTLE_END, BATTLE_READY, ERROR_LOG_MESSAGE, FIELD_TEXT, FINALISE_CHALLENGE, FIND_ALIASES_MESSAGE, INFORM_DAMAGE, ISSUE_CHALLENGE, JOIN_CHANNEL_MESSAGE, JOIN_SERVER, PARTY_MESSAGE, RATIO_REFRESH, REGISTER_ACCOUNT, REPLACE_POKEMON, REQUEST_MOVE, SELECTION_END, SPECTATOR_MESSAGE, STAT_REFRESH, STATUS_CHANGE, SUCCESS_MESSAGE, UPDATE_POKEMON_STATUS, USE_MOVE, USER_LIST, USER_TABLE, WELCOME_MESSAGE, WELCOME_TEXT_MESSAGE, WITHDRAW_CHALLENGE
 
Constructor Summary
AddBattleMessage(int id, java.lang.String battle, boolean online)
          Creates a new instance of AddBattleMessage
 
Method Summary
 java.lang.String getBattle()
           
 int getId()
           
 int getMessage()
           
 boolean isOnline()
           
 
Methods inherited from class netbattle.messages.NetMessage
logInRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddBattleMessage

public AddBattleMessage(int id,
                        java.lang.String battle,
                        boolean online)
Creates a new instance of AddBattleMessage

Method Detail

getMessage

public int getMessage()
Specified by:
getMessage in class NetMessage

getId

public int getId()

getBattle

public java.lang.String getBattle()

isOnline

public boolean isOnline()