All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.ParticipantAddingAction
java.lang.Object
|
+----ncsa.habanero.HabaneroAction
|
+----ncsa.habanero.ParticipantAddingAction
- public class ParticipantAddingAction
- extends HabaneroAction
- implements ArbitratorAction
ParticipantAddingAction
Adds a person to the session
-
ParticipantAddingAction()
-
-
ParticipantAddingAction(SessionParticipant)
-
-
act(Targetable)
-
-
actAtArbitrator(Arbitrator, Specifiable)
-
-
describe()
-
-
sendToEveryone()
-
-
who()
-
ParticipantAddingAction
public ParticipantAddingAction(SessionParticipant p)
- Parameters:
- p - the new participant
- Returns:
- Initializes the participant
ParticipantAddingAction
public ParticipantAddingAction()
- Returns:
- doesn't do anything special, but it is required for
unmarshallSelf
act
public void act(Targetable target)
- Returns:
- adds the participant to the sesion
- Overrides:
- act in class HabaneroAction
actAtArbitrator
public void actAtArbitrator(Arbitrator arb,
Specifiable target)
- Parameters:
- arb - the arbitrator
- target - the target (the session for this person to be added to)
- Returns:
- handles the serializer records at the arbitrator
sendToEveryone
public boolean sendToEveryone()
- Returns:
- true if this should be sent to everyone, false if
it should only be executed at the arbitrator
describe
public String describe()
- Returns:
- a description of ParticipantAddingAction
- Overrides:
- describe in class HabaneroAction
who
public SessionParticipant who()
- Returns:
- the participant who has added
All Packages Class Hierarchy This Package Previous Next Index