com.camelspotting.jotl
Interface GameQuerier

All Known Implementing Classes:
UDPGameQuerier

public interface GameQuerier

Author:
Mats Andreassen

Method Summary
 Game getAllInformation()
          Method for getting all available information
 ClientsDetails getClientsDetails()
          Method for accessing details on the connected clients.
 Server getServer()
          Returns server related information.
 ServerDetails getServerDetails()
          Method for accessing server details.
 

Method Detail

getServerDetails

ServerDetails getServerDetails()
                               throws JOTLException
Method for accessing server details.

Returns:
the current ClientsInfo object or null if no info has been collected
Throws:
JOTLException

getClientsDetails

ClientsDetails getClientsDetails()
                                 throws JOTLException
Method for accessing details on the connected clients.

Returns:
the current ServerInfo object or null if no info has been collected
Throws:
JOTLException

getAllInformation

Game getAllInformation()
                       throws JOTLException
Method for getting all available information

Returns:
a wrapper object for all current state of a game
Throws:
JOTLException

getServer

Server getServer()
Returns server related information.

Returns:
an object containing server information


Copyright © 2013. All Rights Reserved.