public abstract class BaseGameInvitationCallback extends java.lang.Object implements InvitationCallback
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log
A reference to the logger
|
protected ISFSApi |
sfsAPI
A reference to the SFS API
|
Constructor and Description |
---|
BaseGameInvitationCallback(Room game,
boolean leaveLastJoinedRoom)
Create a new Callback object keeping track of the Game Room
|
Modifier and Type | Method and Description |
---|---|
protected Room |
getGame()
Get the Game
|
protected boolean |
isLeaveLastJoindRoom()
Check if the join operation should include leaving the last joined Room
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onAccepted, onExpired, onRefused
protected final org.slf4j.Logger log
protected final ISFSApi sfsAPI
public BaseGameInvitationCallback(Room game, boolean leaveLastJoinedRoom)
game
- the gameleaveLastJoinedRoom
- true if the lastJoined Room should be leftprotected Room getGame()
protected boolean isLeaveLastJoindRoom()