|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lsp
A Label Switched Path in a Domain
Creation date: 19-Jan-2005 15:47:36
Field Summary | |
---|---|
static int |
BYPASS_BACKUP_TYPE
|
static int |
DETOUR_E2E_BACKUP_TYPE
|
static int |
DETOUR_LOCAL_BACKUP_TYPE
|
Method Summary | |
---|---|
void |
addBackupLsp(Lsp lsp)
Add a lsp in the list of backup lsps of this primary lsp. |
java.util.Set<Lsp> |
getBackups()
returns a set of the backups lsps |
int |
getBackupType()
|
int |
getCT()
|
int |
getHoldingPreemption()
|
Path |
getLspPath()
|
float |
getMaxRate()
|
float |
getMetric()
|
java.util.List<Link> |
getProtectedLinks()
|
Lsp |
getProtectedLsp()
|
float |
getReservation()
|
int |
getSetupPreemption()
|
void |
init(Domain domain)
|
boolean |
isBackupLsp()
|
void |
removeBackupLsp(Lsp lsp)
Removes a LSP for the list of backups |
void |
setLspPath(Path path)
|
void |
setReservation(float bw)
|
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainElement |
---|
getId |
Field Detail |
---|
static final int DETOUR_E2E_BACKUP_TYPE
static final int DETOUR_LOCAL_BACKUP_TYPE
static final int BYPASS_BACKUP_TYPE
Method Detail |
---|
void init(Domain domain) throws InvalidPathException, DiffServConfigurationException
domain
-
InvalidPathException
- If the LSP has invalid path.
DiffServConfigurationException
float getMetric()
float getMaxRate()
float getReservation()
void setReservation(float bw) throws LinkCapacityExceededException
LinkCapacityExceededException
Path getLspPath()
void setLspPath(Path path)
int getCT()
int getHoldingPreemption()
int getSetupPreemption()
boolean isBackupLsp()
int getBackupType()
Lsp getProtectedLsp() throws LspNotFoundException
LspNotFoundException
java.util.List<Link> getProtectedLinks() throws LinkNotFoundException
LinkNotFoundException
void addBackupLsp(Lsp lsp)
void removeBackupLsp(Lsp lsp) throws LspNotFoundException
lsp
-
LspNotFoundException
java.util.Set<Lsp> getBackups()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |