|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.inet.protocol.cbt.CBTTimingPack
Defines all the timing parameters used by CBT.
Refer to draft-ietf-idmr-cbt-spec-v3-01.txt for the default values and
formula. The values that are defined in the draft but not defined here
are [HelloInterval], [HelloPreference] and [DrTransTimer].
| Constructor Summary | |
CBTTimingPack()
See all the getter methods for the default values. |
|
CBTTimingPack(double holdTime_,
int maxRtx_,
double rtxInterval_,
double echoIntervalBase_)
Default formula for other values: [JoinTimeout] = 3.5 * [RtxInterval] [TransientTimeout] = [JoinTimeout] [ChildDelTimer] = 1.5 * [HoldTime] [UpstreamExpireTime] = [MaxRtx] * [RtxInterval] + [HoldTime] [DownStreamExpireTimeBase] = [UpstreamExpireTime] +[EchoIntervalBase] |
|
CBTTimingPack(double holdTime_,
int maxRtx_,
double rtxInterval_,
double joinTimeout_,
double transientTimeout_,
double childDelTimer_,
double upstreamExpireTime_,
double downstreamExpireTimeBase_,
double echoIntervalBase_)
|
|
| Method Summary | |
double |
getChildDelTimer()
Remove child interface from forwarding cache. |
double |
getDownstreamExpireTime()
Not heard from child, time to remove child interface. |
double |
getDownstreamExpireTimeBase()
Not heard from child, base time to remove child interface. |
double |
getEchoInterval()
Interval between sending ECHO_REQUEST to parent routers. |
double |
getEchoIntervalBase()
Base interval between sending ECHO_REQUEST to parent routers. |
double |
getEchoRtxTime()
Echo request rtx timer. |
double |
getHoldtime()
Generic response interval. |
double |
getJoinTimeout()
Raise exception deu to tree join failure. |
int |
getMaxRtx()
Default maximum number of retransmissions. |
double |
getRtxInterval()
Message retransmission time. |
double |
getTransientTimeout()
delete (unconfirmed) transient state. |
double |
getUpstreamExpireTime()
Time to send a QUIT-NOTIFICATION to the non-responding parent. |
java.lang.String |
info()
|
void |
setChildDelTimer(double v_)
|
void |
setDownstreamExpireTimeBase(double v_)
|
void |
setEchoIntervalBase(double v_)
|
void |
setHoldtime(double holdtime_)
|
void |
setJoinTimeout(double v_)
|
void |
setMaxRtx(int v_)
|
void |
setRandomSeed(long seed_)
Random seed for generating rnd for [EchoInterval]. |
void |
setRtxInterval(double v_)
|
void |
setTransientTimeout(double v_)
|
void |
setUpstreamExpireTime(double v_)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CBTTimingPack()
public CBTTimingPack(double holdTime_,
int maxRtx_,
double rtxInterval_,
double echoIntervalBase_)
public CBTTimingPack(double holdTime_,
int maxRtx_,
double rtxInterval_,
double joinTimeout_,
double transientTimeout_,
double childDelTimer_,
double upstreamExpireTime_,
double downstreamExpireTimeBase_,
double echoIntervalBase_)
| Method Detail |
public double getHoldtime()
public int getMaxRtx()
public double getRtxInterval()
public double getJoinTimeout()
public double getTransientTimeout()
public double getChildDelTimer()
public double getUpstreamExpireTime()
public double getDownstreamExpireTimeBase()
public double getEchoIntervalBase()
public double getDownstreamExpireTime()
public double getEchoInterval()
public double getEchoRtxTime()
public void setRandomSeed(long seed_)
getEchoInterval()public void setHoldtime(double holdtime_)
public void setMaxRtx(int v_)
public void setRtxInterval(double v_)
public void setJoinTimeout(double v_)
public void setTransientTimeout(double v_)
public void setChildDelTimer(double v_)
public void setUpstreamExpireTime(double v_)
public void setDownstreamExpireTimeBase(double v_)
public void setEchoIntervalBase(double v_)
public java.lang.String info()
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||