lilypad.client.connect.api.request.impl
Class NotifyPlayerRequest
java.lang.Object
lilypad.client.connect.api.request.impl.NotifyPlayerRequest
- All Implemented Interfaces:
- Request<NotifyPlayerResult>
public class NotifyPlayerRequest
- extends java.lang.Object
- implements Request<NotifyPlayerResult>
Request to notify the network that a player has been added
or removed from our proxy.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotifyPlayerRequest
public NotifyPlayerRequest(boolean addOrRemove,
java.lang.String player)
- Parameters:
addOrRemove
- true if adding, false if removingplayer
- in question
getResult
public java.lang.Class<NotifyPlayerResult> getResult()
- Specified by:
getResult
in interface Request<NotifyPlayerResult>
- Returns:
- accompanying result of the request
isAdding
public boolean isAdding()
- Returns:
- if this is a request to add
isRemoving
public boolean isRemoving()
- Returns:
- if this is a request to remove
getPlayer
public java.lang.String getPlayer()
- Returns:
- the player in question