flowsim.slatr
Class SLA
java.lang.Object
|
+--flowsim.slatr.SLA
- public final class SLA
- extends java.lang.Object
- implements java.lang.Cloneable
Constructor Summary |
SLA(Node dest,
int ds,
int bw,
int max_delay,
long cost,
long time,
long expiration)
|
SLA(Node dest,
int ds,
int bw,
int max_delay,
long cost,
long time,
long expiration,
int peer)
|
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
dest
public final Node dest
ds
public int ds
bw
public final int bw
max_delay
public final int max_delay
time
public long time
expiration
public long expiration
cost
public long cost
peer
public int peer
rbw
public int rbw
iface
public int iface
bid_expiration
public long bid_expiration
accepted
public boolean accepted
expiration_event
public EventQueueElement expiration_event
utility
public float utility
gain
public long gain
misc
public java.lang.Object misc
SLA
public SLA(Node dest,
int ds,
int bw,
int max_delay,
long cost,
long time,
long expiration)
SLA
public SLA(Node dest,
int ds,
int bw,
int max_delay,
long cost,
long time,
long expiration,
int peer)
volume
public long volume()
- volume in bits
volume
public long volume(long now)
cost_volume
public float cost_volume(long now)
- cost per volume
cost_volume
public float cost_volume()
cost_time
public float cost_time()
toDebugString
public java.lang.String toDebugString()
toNormalString
public java.lang.String toNormalString()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
- clone in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
- equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
- hashCode in class java.lang.Object