SSF.Net
Class _NIC.NotificationTimer

java.lang.Object
  |
  +--com.renesys.raceway.SSF.Entity
        |
        +--SSF.OS.Timer
              |
              +--SSF.Net._NIC.NotificationTimer
Enclosing class:
_NIC

private class _NIC.NotificationTimer
extends Timer

This class is used to detect the lol event at the simulation time it occurs.


Nested Class Summary
 
Nested classes inherited from class SSF.OS.Timer
 
Field Summary
(package private)  EventMessage message
          The message that has to be send to the registered callback module.
 
Fields inherited from class SSF.OS.Timer
 
Fields inherited from class com.renesys.raceway.SSF.Entity
 
Constructor Summary
private _NIC.NotificationTimer(EventMessage message)
          Creates the timer, registers it at the ProtocolGraph for the time now.
private _NIC.NotificationTimer(EventMessage message, double callIn)
          Creates the timer, registers it at the ProtocolGraph for the specified time.
 
Method Summary
 void callback()
          Implementation of the call back function.
 
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, resumeAll, startAll, startAll, startClient, startClient, startServer, W, Z
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

final EventMessage message
The message that has to be send to the registered callback module.

Constructor Detail

_NIC.NotificationTimer

private _NIC.NotificationTimer(EventMessage message,
                               double callIn)
Creates the timer, registers it at the ProtocolGraph for the specified time.

Parameters:
message - The message that has to be send.
callIn - The simulation time when the message has to be send.

_NIC.NotificationTimer

private _NIC.NotificationTimer(EventMessage message)
Creates the timer, registers it at the ProtocolGraph for the time now.

Parameters:
message - The notification message.
Method Detail

callback

public void callback()
Implementation of the call back function. Set the delay of the message to 0. This method calls the message detect

Specified by:
callback in class Timer