lilypad.client.connect.api.request.impl
Class GetPlayersRequest

java.lang.Object
  extended by lilypad.client.connect.api.request.impl.GetPlayersRequest
All Implemented Interfaces:
Request<GetPlayersResult>

public class GetPlayersRequest
extends java.lang.Object
implements Request<GetPlayersResult>

Request to get an accurate representation of all players on the network.


Constructor Summary
GetPlayersRequest()
          Shortcut to dictate that we needn't a list of every player.
GetPlayersRequest(boolean asList)
           
 
Method Summary
 boolean getAsList()
           
 java.lang.Class<GetPlayersResult> getResult()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetPlayersRequest

public GetPlayersRequest()
Shortcut to dictate that we needn't a list of every player.


GetPlayersRequest

public GetPlayersRequest(boolean asList)
Parameters:
asList - if a list of every player is required
Method Detail

getResult

public java.lang.Class<GetPlayersResult> getResult()
Specified by:
getResult in interface Request<GetPlayersResult>
Returns:
accompanying result of the request

getAsList

public boolean getAsList()
Returns:
if a list of every player is required