com.camelspotting.jotl.domain
Class Game

java.lang.Object
  extended by com.camelspotting.jotl.domain.Game

public class Game
extends Object

This method is is just a wrapper for response and detail information, and is primarily used for archiving the final query result for games in ServerHandler.

Version:
1.0
Author:
Mats Andreassen
See Also:
ServerHandler

Constructor Summary
Game(ServerDetails serverDetails, ClientsDetails clientDetails)
          This internal constructor is for creating these archive objects.
 
Method Summary
 ClientsDetails getClientDetails()
          Getter for the ClientsInfo object.
 ServerDetails getServerDetails()
          Getter for the ServerInfo object.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Game

public Game(ServerDetails serverDetails,
            ClientsDetails clientDetails)
This internal constructor is for creating these archive objects.

Parameters:
clientsInfo - the information to contain
serverInfo - more information to contain
Method Detail

getClientDetails

public ClientsDetails getClientDetails()
Getter for the ClientsInfo object.

Returns:
the ClientsInfo object

getServerDetails

public ServerDetails getServerDetails()
Getter for the ServerInfo object.

Returns:
the ServerInfo object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.