be.ac.ulg.montefiore.run.totem.repository.model
Class AddLspAction

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.repository.model.AddLspAction
All Implemented Interfaces:
TotemAction

public class AddLspAction
extends java.lang.Object
implements TotemAction

This action describes an LSP and can be used to add the LSP on the domain

Creation date: 1-Jan-2004

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be)

Field Summary
protected  Domain domain
           
protected  Lsp lsp
           
 
Constructor Summary
AddLspAction(Domain domain, Lsp lsp)
          Creates an AddLspAction
 
Method Summary
 void execute()
          Adds the LSP to the domain
 Lsp getLsp()
          Gets the LSP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lsp

protected Lsp lsp

domain

protected Domain domain
Constructor Detail

AddLspAction

public AddLspAction(Domain domain,
                    Lsp lsp)
Creates an AddLspAction

Parameters:
lsp - the LSP
Method Detail

execute

public void execute()
             throws TotemActionExecutionException
Adds the LSP to the domain

Specified by:
execute in interface TotemAction
Throws:
TotemActionExecutionException

getLsp

public Lsp getLsp()
Gets the LSP

Returns:
the LSP


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.