drcl.intserv.scheduler
Class SpecR_GR
java.lang.Object
|
+--drcl.DrclObj
|
+--drcl.intserv.SpecR
|
+--drcl.intserv.scheduler.SpecR_GR
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectDuplicable, java.io.Serializable, SpecR_Direct
- public class SpecR_GR
- extends SpecR
- implements SpecR_Direct
- See Also:
- Serialized Form
|
Method Summary |
int |
compareWith(SpecR rspec_)
Returns 1 if this > rspec; 0 if this == rspec
and -1 if this < rspec. |
void |
duplicate(java.lang.Object source_)
opies the content of the source_ object to this object. |
int |
getBuffer()
Returns the buffer requirement for this Rspec. |
int |
getBW()
Returns the bandwidth requirement for this Rspec. |
SpecR |
merge(SpecR rspec_)
|
void |
perHopAdjust()
Adjust the rspecs when backing off one hop. |
void |
setBuffer(int buffer_)
|
void |
setBW(int bw_)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bw
public int bw
buffer
public int buffer
SpecR_GR
public SpecR_GR()
SpecR_GR
public SpecR_GR(int bw_,
int buffer_,
int mtu_)
getBuffer
public int getBuffer()
- Description copied from class:
SpecR
- Returns the buffer requirement for this Rspec.
- Specified by:
getBuffer in interface SpecR_Direct- Overrides:
getBuffer in class SpecR
setBuffer
public void setBuffer(int buffer_)
- Specified by:
setBuffer in interface SpecR_Direct
setBW
public void setBW(int bw_)
- Specified by:
setBW in interface SpecR_Direct
getBW
public int getBW()
- Description copied from class:
SpecR
- Returns the bandwidth requirement for this Rspec.
- Specified by:
getBW in interface SpecR_Direct- Overrides:
getBW in class SpecR
merge
public SpecR merge(SpecR rspec_)
- Overrides:
merge in class SpecR
compareWith
public int compareWith(SpecR rspec_)
- Description copied from class:
SpecR
- Returns 1 if this > rspec; 0 if this == rspec
and -1 if this < rspec.
- Overrides:
compareWith in class SpecR
duplicate
public void duplicate(java.lang.Object source_)
- Description copied from class:
DrclObj
- opies the content of the
source_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
- Overrides:
duplicate in class DrclObj
perHopAdjust
public void perHopAdjust()
- Description copied from class:
SpecR
- Adjust the rspecs when backing off one hop.
- Overrides:
perHopAdjust in class SpecR
toString
public java.lang.String toString()
- Overrides:
toString in class SpecR
Copyright © 2001 - DRCL, OSU ~ Back to JavaSim Home ~