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


Constructor Index

 o ParticipantAddingAction()
 o ParticipantAddingAction(SessionParticipant)

Method Index

 o act(Targetable)
 o actAtArbitrator(Arbitrator, Specifiable)
 o describe()
 o sendToEveryone()
 o who()

Constructors

 o ParticipantAddingAction
 public ParticipantAddingAction(SessionParticipant p)
Parameters:
p - the new participant
Returns:
Initializes the participant
 o ParticipantAddingAction
 public ParticipantAddingAction()
Returns:
doesn't do anything special, but it is required for unmarshallSelf

Methods

 o act
 public void act(Targetable target)
Returns:
adds the participant to the sesion
Overrides:
act in class HabaneroAction
 o 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
 o sendToEveryone
 public boolean sendToEveryone()
Returns:
true if this should be sent to everyone, false if it should only be executed at the arbitrator
 o describe
 public String describe()
Returns:
a description of ParticipantAddingAction
Overrides:
describe in class HabaneroAction
 o who
 public SessionParticipant who()
Returns:
the participant who has added

All Packages  Class Hierarchy  This Package  Previous  Next  Index