sdt.mediator.sdts
Class AudioBubble

java.lang.Object
  extended by sdt.mediator.sdts.AudioBubble

public class AudioBubble
extends java.lang.Object

This represents a bubble with audio


Nested Class Summary
static class AudioBubble.SM
          State Machine used by the audio bubble
 
Field Summary
static java.net.URI machine
           
 
Constructor Summary
AudioBubble(ISessionManager sm0, Session s0)
           
 
Method Summary
 PartyInBubble addParty(PartyURI p, Role r)
           
 Bubble copy()
           
 void drop()
           
 void dropParty(PartyURI p)
           
 Bubble getBubble()
           
 Media getMedia()
           
 java.util.Set<PartyInBubble> getParties()
           
 PartyInBubble getParty(PartyURI p)
           
 Session getSession()
           
 java.net.URI getStateMachine()
           
 void merge(Bubble aBubble)
           
 Expr mkEnterState(IState state, PartyInBubbleVar pv)
           
 Expr mkEvent(IEvent a, PartyInBubbleVar pv)
           
 Expr mkInState(IState state, PartyInBubbleVar pv)
           
 Expr mkLeaveState(IState state, PartyInBubbleVar pv)
           
 int numParties()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

machine

public static final java.net.URI machine
Constructor Detail

AudioBubble

public AudioBubble(ISessionManager sm0,
                   Session s0)
            throws SDTException
Throws:
SDTException
Method Detail

getBubble

public Bubble getBubble()

addParty

public PartyInBubble addParty(PartyURI p,
                              Role r)
                       throws SDTException
Throws:
SDTException

drop

public void drop()
          throws SDTException
Throws:
SDTException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMedia

public Media getMedia()

getParties

public java.util.Set<PartyInBubble> getParties()
                                        throws SDTException
Throws:
SDTException

getSession

public Session getSession()

getStateMachine

public java.net.URI getStateMachine()

merge

public void merge(Bubble aBubble)
           throws SDTException
Throws:
SDTException

mkEvent

public Expr mkEvent(IEvent a,
                    PartyInBubbleVar pv)

mkEnterState

public Expr mkEnterState(IState state,
                         PartyInBubbleVar pv)

mkInState

public Expr mkInState(IState state,
                      PartyInBubbleVar pv)

mkLeaveState

public Expr mkLeaveState(IState state,
                         PartyInBubbleVar pv)

copy

public Bubble copy()
            throws SDTException
Throws:
SDTException

getParty

public PartyInBubble getParty(PartyURI p)
                       throws SDTException
Throws:
SDTException

numParties

public int numParties()
               throws SDTException
Throws:
SDTException

dropParty

public void dropParty(PartyURI p)
               throws SDTException
Throws:
SDTException