|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.renesys.raceway.SSF.Entity
|
+--SSF.OS.Timer
|
+--SSF.OS.BGP4.Timing.Timer
This class is just an intermediate class between SSF.OS.Timer
and the more specific BGP timers (SSF.OS.BGP4.EventTimer,
SSF.OS.BGP4.MRAITimer) so that generic methods for
setting the time at which the timer was set can be included.
| Field Summary | |
static int |
CONNRETRY
Indicates the Connect Retry Timer. |
static int |
HOLD
Indicates the Hold Timer. |
boolean |
is_expired
Whether or not the timer is expired. |
static int |
KEEPALIVE
Indicates the Keep Alive Timer. |
static int |
MASO
Indicates the Minimum AS Origination Timer. |
static int |
MRAI
Indicates the Minimum Route Advertisement Interval Timer. |
| Constructor Summary | |
Timer(ProtocolGraph pg,
long dt)
Initialize the timer data. |
|
| Method Summary | |
abstract void |
callback()
An abstract version of the method that is called when the timer expires. |
void |
canc()
Cancel the timer. |
boolean |
is_expired()
Returns whether or not the timer is expired (also returns true if the timer is not currently set) |
void |
set_at(long set_time)
Since it's not done automatically by the timers, this method sets the time at which the timer was set. |
void |
set_expiry(boolean b)
Assign a value for whether or not the timer is expired. |
long |
when_set()
Returns the time at which the timer was set. |
| Methods inherited from class SSF.OS.Timer |
cancel, isCancelled, set, set |
| Methods inherited from class com.renesys.raceway.SSF.Entity |
alignment, alignTo, coalignedEntities, inChannels, init, joinAll, makeIndependent, now, outChannels, pauseAll, playRole, processes, resetSimulation, resumeAll, startAll, startAll, startClient, startClient, startServer, Vx, Yx |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int CONNRETRY
public static final int HOLD
public static final int KEEPALIVE
public static final int MASO
public static final int MRAI
public boolean is_expired
| Constructor Detail |
public Timer(ProtocolGraph pg,
long dt)
pg - The protocol graph in which the associated BGP session
resides.dt - The length of time (in ticks) that the timer is set for.| Method Detail |
public abstract void callback()
callback in class Timerpublic long when_set()
public void set_at(long set_time)
set_time - The time (in ticks) at which the timer was set.public boolean is_expired()
public void set_expiry(boolean b)
set is called.
b - Whether or not the timer has expired.public void canc()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||