be.ac.ulg.montefiore.run.totem.domain.model
Interface Link

All Superinterfaces:
DomainElement

public interface Link
extends DomainElement

Represent a Link in a Domain

Creation date: 12-Jan-2005 17:27:03

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

Field Summary
static int STATUS_DOWN
           
static int STATUS_UP
           
 
Method Summary
 void addReservation(float bw)
           
 void addReservation(float bw, int priority)
           
 float getBandwidth()
           
 float[] getBCs()
           
 float getDelay()
           
 java.lang.String getDescription()
           
 int getDiffServBCM()
           
 DiffServModel getDiffServModel()
           
 NodeInterface getDstInterface()
           
 Node getDstNode()
           
 int getLinkStatus()
           
 float getMetric()
           
 float[] getRbw()
           
 float getReservableBandwidth()
           
 float getReservableBandwidth(int priority)
           
 float getReservableBandwidthCT(int ct)
           
 float getReservedBandwidth()
           
 float getReservedBandwidth(int priority)
           
 float getReservedBandwidthCT(int ct)
           
 NodeInterface getSrcInterface()
           
 Node getSrcNode()
           
 float getTEMetric()
           
 float getTotalReservableBandwidth()
           
 float getTotalReservedBandwidth()
           
 void removeReservation(float bw)
           
 void removeReservation(float bw, int priority)
           
 void setBandwidth(float bw)
           
 void setDelay(float delay)
           
 void setDescription(java.lang.String description)
           
 void setDstInterface(java.lang.String dstInterfaceId)
           
 void setLinkStatus(int status)
           
 void setMetric(float metric)
           
 void setSrcInterface(java.lang.String srcInterfaceId)
           
 void setTEMetric(float metric)
           
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainElement
getId
 

Field Detail

STATUS_UP

static final int STATUS_UP
See Also:
Constant Field Values

STATUS_DOWN

static final int STATUS_DOWN
See Also:
Constant Field Values
Method Detail

getSrcNode

Node getSrcNode()
                throws NodeNotFoundException
Throws:
NodeNotFoundException

getDstNode

Node getDstNode()
                throws NodeNotFoundException
Throws:
NodeNotFoundException

getSrcInterface

NodeInterface getSrcInterface()
                              throws NodeNotFoundException,
                                     NodeInterfaceNotFoundException
Throws:
NodeNotFoundException
NodeInterfaceNotFoundException

getDstInterface

NodeInterface getDstInterface()
                              throws NodeNotFoundException,
                                     NodeInterfaceNotFoundException
Throws:
NodeNotFoundException
NodeInterfaceNotFoundException

setSrcInterface

void setSrcInterface(java.lang.String srcInterfaceId)
                     throws NodeNotFoundException,
                            NodeInterfaceNotFoundException
Throws:
NodeNotFoundException
NodeInterfaceNotFoundException

setDstInterface

void setDstInterface(java.lang.String dstInterfaceId)
                     throws NodeNotFoundException,
                            NodeInterfaceNotFoundException
Throws:
NodeNotFoundException
NodeInterfaceNotFoundException

getDelay

float getDelay()

setDelay

void setDelay(float delay)

getBandwidth

float getBandwidth()

setBandwidth

void setBandwidth(float bw)

getLinkStatus

int getLinkStatus()

setLinkStatus

void setLinkStatus(int status)
                   throws StatusTypeException
Throws:
StatusTypeException

getMetric

float getMetric()

setMetric

void setMetric(float metric)

getTEMetric

float getTEMetric()

setTEMetric

void setTEMetric(float metric)

getReservableBandwidth

float getReservableBandwidth()

getReservedBandwidth

float getReservedBandwidth()

getTotalReservedBandwidth

float getTotalReservedBandwidth()

getTotalReservableBandwidth

float getTotalReservableBandwidth()

getReservedBandwidthCT

float getReservedBandwidthCT(int ct)

getReservableBandwidthCT

float getReservableBandwidthCT(int ct)

getReservableBandwidth

float getReservableBandwidth(int priority)

getReservedBandwidth

float getReservedBandwidth(int priority)

addReservation

void addReservation(float bw)
                    throws LinkCapacityExceededException
Throws:
LinkCapacityExceededException

addReservation

void addReservation(float bw,
                    int priority)
                    throws LinkCapacityExceededException
Throws:
LinkCapacityExceededException

getDiffServBCM

int getDiffServBCM()

getDiffServModel

DiffServModel getDiffServModel()

removeReservation

void removeReservation(float bw)
                       throws LinkCapacityExceededException
Throws:
LinkCapacityExceededException

removeReservation

void removeReservation(float bw,
                       int priority)
                       throws LinkCapacityExceededException
Throws:
LinkCapacityExceededException

getBCs

float[] getBCs()

getRbw

float[] getRbw()

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)


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