Back: DateTime-time zones
Up: Class reference
Forward: Delay class-general inquiries
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.54 Delay

Defined in namespace Smalltalk
Category: Language-Processes
I am the ultimate agent for frustration in the world. I cause things to wait (typically much more than is appropriate, but it is those losing operating systems' fault). When a process sends one of my instances a wait message, that process goes to sleep for the interval specified when the instance was created.

6.54.1 Delay class: general inquiries  (class)
6.54.2 Delay class: initialization  (class)
6.54.3 Delay class: instance creation  (class)
6.54.4 Delay: accessing  (instance)
6.54.5 Delay: comparing  (instance)
6.54.6 Delay: process delay  (instance)


6.54.1 Delay class: general inquiries

millisecondClockValue
Private - Answer the number of milliseconds since midnight


6.54.2 Delay class: initialization

initialize
Private - Initialize the receiver and the associated process


6.54.3 Delay class: instance creation

forMilliseconds: millisecondCount
Answer a Delay waiting for millisecondCount milliseconds

forSeconds: secondCount
Answer a Delay waiting for secondCount seconds

untilMilliseconds: millisecondCount
Answer a Delay waiting for millisecondCount milliseconds after midnight


6.54.4 Delay: accessing

resumptionTime
Answer the time when a process waiting on a Delay will resume


6.54.5 Delay: comparing

= aDelay
Answer whether the receiver and aDelay denote the same delay

hash
Answer an hash value for the receiver


6.54.6 Delay: process delay

wait
Wait until the amount of time represented by the instance of Delay elapses




This document was generated on May, 12 2002 using texi2html