public interface GameChangeListener
extends com.sun.sgs.app.ManagedObject
Lobby listens
for these updates, in practice anyone could be a consumer of these
messages, and this pattern provides a nice way notify multiple parties
of these updates.| Modifier and Type | Method and Description |
|---|---|
void |
gameAdded(Collection<String> names)
Notifies the listener that games were added to the app.
|
void |
gameRemoved(Collection<String> names)
Notifies the listener that games were removed from the app.
|
void |
membershipChanged(Collection<GameMembershipDetail> details)
Notifies the listener that some game membership information has
changed.
|
void gameAdded(Collection<String> names)
names - the names of the added Gamesvoid gameRemoved(Collection<String> names)
names - the names of the removed Gamesvoid membershipChanged(Collection<GameMembershipDetail> details)
details - information about the membership changesCopyright © 2013. All Rights Reserved.