|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsdt.mediator.PartyInBubble
public class PartyInBubble
This represents the "connection" between a party and a bubble. The connection maintains the state of the party in the bubble
| Method Summary | |
|---|---|
void |
drop()
Drop self from containing bubble |
boolean |
eq(PartyInBubble q)
equality check |
boolean |
equals(java.lang.Object o)
|
Bubble |
getBubble()
|
PartyURI |
getParty()
|
Role |
getRole()
|
java.lang.String |
getState()
|
sdt.ext.interfaces.PartyInBridgeURI |
getURI()
|
int |
hashCode()
|
PartyInBubble |
invite(PartyURI partyURI,
Role r)
invites another party to the same bubble. |
Expr |
mkEnterState(IState state)
|
Expr |
mkEvent(IEvent a)
|
Expr |
mkInState(IState state)
|
Expr |
mkLeaveState(IState state)
|
void |
moveTo(Bubble b1)
move to new bubble; only works if new and old bubbles are from the same session, and have the same type. |
void |
request(IEvent a)
request an action to be performed. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean eq(PartyInBubble q)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic sdt.ext.interfaces.PartyInBridgeURI getURI()
public Bubble getBubble()
public PartyURI getParty()
public Role getRole()
public void drop()
throws SDTException
SDTException
public java.lang.String getState()
throws SDTException
SDTExceptionpublic java.lang.String toString()
toString in class java.lang.Object
public void moveTo(Bubble b1)
throws SDTException
SDTException
public void request(IEvent a)
throws SDTException
a -
SDTException - if the action is not controllable, or could not be performed
public PartyInBubble invite(PartyURI partyURI,
Role r)
throws SDTException
SDTExceptionpublic Expr mkEvent(IEvent a)
public Expr mkEnterState(IState state)
public Expr mkInState(IState state)
public Expr mkLeaveState(IState state)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||