org.globalse.arena.remote
Class MatchInfo

java.lang.Object
  extended by org.globalse.arena.remote.MatchInfo
All Implemented Interfaces:
java.io.Serializable

public class MatchInfo
extends java.lang.Object
implements java.io.Serializable

This class is a container for transporting information about matches to and from remote methods. Instances are created by the game peer and sent to the match front ends. Once created, MatchInfos are not updated as Matches change.

Author:
Michael Nagel
See Also:
RemoteMatch.getInfo(), Serialized Form

Constructor Summary
MatchInfo(Match match)
           
 
Method Summary
 RemoteMatch getMatch()
           
 java.lang.String getMatchId()
           
 User[] getPlayers()
           
 User[][] getRanks()
           
 java.lang.String getState()
           
 boolean hasPlayer(User player)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchInfo

public MatchInfo(Match match)
Method Detail

getMatchId

public java.lang.String getMatchId()

getMatch

public RemoteMatch getMatch()

getPlayers

public User[] getPlayers()

hasPlayer

public boolean hasPlayer(User player)

getState

public java.lang.String getState()

getRanks

public User[][] getRanks()


Copyright © 2004-2007 Bernd Bruegge & Allen H. Dutoit. All Rights Reserved.