net.clackrouter.router.core
Interface Alarm

All Known Implementing Classes:
ARPDemux, ARPLookup, ARPRespond, ByteQueue, Capture, ClackApplication, ClackComponent, Classifier, Counter, Delay, DNSHijacker, Ethereal, EtherEncap, EtherStrip, EtherSwitch, EvenOdd, FlowByteQueue, HelloApp, HTTPGetter, ICMPDemux, ICMPEcho, ICMPPortUnreach, ICMPTTLExpired, Ifconfig, Interface, InterfaceIn, InterfaceOut, IPEncap, IPHeaderCheck, IPRouteLookup, IPStrip, IPTTLDec, Level2Demux, Level3Demux, Loss, MiniWebServer, NAPT, OrderPackets, Ping, ProcessAck, ProcessSegment, PullToPush, Queue, ReceiveWindowCheck, REDQueue, Retransmitter, SendWindowCheck, SetChecksum, Show, SIPRedirector, SockBuffer, SourceTracker1, TCB, TCP, TCPMonitor, TCPRedirector, TCPSeqMon, TCPSocket, Tee, Throttle, UDP, UDPRedirector, UDPSource, UnixRoute, ValidateChecksum

public interface Alarm


Method Summary
 Router getRouter()
          Must return the router associated with the element setting the alarm needed for single-threaded components.
 void notifyAlarm()
          call-back method implemented by the code setting the alarm.
 void setAlarm(long millisecs)
          Sets a timer
 

Method Detail

setAlarm

void setAlarm(long millisecs)
Sets a timer

Parameters:
millisecs - milliseconds later in "clack time" that the alarm will fire.

notifyAlarm

void notifyAlarm()
call-back method implemented by the code setting the alarm. notifies that the alarm has fired.


getRouter

Router getRouter()
Must return the router associated with the element setting the alarm needed for single-threaded components.

Returns: