|
||||||||||
| 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
|
+--SSF.OS.BGP4.Timing.EventTimer
Used to represent most of BGP's timers, with the exception of the Minimum
Route Advertisement Interval Timer, which has its own class
(MRAITimer).
| Field Summary | |
int |
event_type
The type of event associated with this timer. |
PeerEntry |
peer
The entry of the peer to whom this timer applies. |
| Fields inherited from class SSF.OS.BGP4.Timing.Timer |
CONNRETRY, HOLD, is_expired, KEEPALIVE, MASO, MRAI |
| Constructor Summary | |
EventTimer(BGPSession b,
int dt,
int tt,
PeerEntry pe)
A basic constructor to initialize member data. |
|
EventTimer(BGPSession b,
long dt,
int et,
PeerEntry pe)
A basic constructor to initialize member data. |
|
| Method Summary | |
void |
callback()
Sends a timeout message to the owning BGPSession when the timer expires. |
| Methods inherited from class SSF.OS.BGP4.Timing.Timer |
canc, is_expired, set_at, set_expiry, when_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 int event_type
public PeerEntry peer
| Constructor Detail |
public EventTimer(BGPSession b,
long dt,
int et,
PeerEntry pe)
b - The BGPSession with which this timer is associated.dt - The length of time (in ticks) for which the timer is set.pe - The entry of the peer to whom this timer applies.
public EventTimer(BGPSession b,
int dt,
int tt,
PeerEntry pe)
b - The BGPSession with which this timer is associated.dt - The length of time (in ticks) for which the timer is set.tt - The type of timeout associated with this timer.pe - The entry of the peer to whom this timer applies.EventTimer(BGPSession,long,int,PeerEntry)| Method Detail |
public void callback()
callback in class Timer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||