|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.repository.model.SetLspReservationAction
public class SetLspReservationAction
This action can be used to set the reservation of an LSP.
Creation date: 18-mai-2005
Constructor Summary | |
---|---|
SetLspReservationAction(Lsp lsp,
float reservation)
Creates a new SetLspReservationAction action. |
Method Summary | |
---|---|
void |
execute()
Sets the reservation of the LSP. |
Lsp |
getLsp()
Returns the LSP whose you want to set the reservation. |
float |
getReservation()
Returns the new reservation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetLspReservationAction(Lsp lsp, float reservation)
SetLspReservationAction
action.
lsp
- The LSP whose you want to set the reservation.reservation
- The new reservation of the LSP.Method Detail |
---|
public void execute() throws TotemActionExecutionException
execute
in interface TotemAction
TotemActionExecutionException
public Lsp getLsp()
public float getReservation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |