|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.parlor.server.ParlorManager.Invitation
protected static class ParlorManager.Invitation
The invitation record is used by the parlor manager to keep track of pending invitations.
| Field Summary | |
|---|---|
GameConfig |
config
The configuration of the game being proposed. |
BodyObject |
invitee
The person to whom the invitation is proposed. |
int |
inviteId
The unique identifier for this invitation. |
BodyObject |
inviter
The person proposing the invitation. |
| Constructor Summary | |
|---|---|
ParlorManager.Invitation(BodyObject inviter,
BodyObject invitee,
GameConfig config)
Constructs a new invitation with the specified participants and configuration. |
|
| Method Summary | |
|---|---|
void |
swapControl()
Swaps the inviter and invitee which is necessary when the invitee responds with a counter-invitation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int inviteId
public BodyObject inviter
public BodyObject invitee
public GameConfig config
| Constructor Detail |
|---|
public ParlorManager.Invitation(BodyObject inviter,
BodyObject invitee,
GameConfig config)
| Method Detail |
|---|
public void swapControl()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||