It is a case where people provide an object that implements a particular
interface that the alarm object will call for certain events. The event
methods are "alarmTriggered" and "alarmStopped" currently. The alarm needs
to have a well defined method name to call and the interface class that the
objects need to inherit contains a default implementation of the target
methods that get overridden by the implementing object, if needed. The
programmer would not be expected to call "alarmStopped" directlly, but will
be fielding the calls from the alarm object.
Rick
On Wed, Oct 15, 2014 at 11:36 AM, Mike Cowlishaw <[email protected]>
wrote:
> So it's not people who write the code for the alarm objects? :-). Or
> if it is only one person, then he or she can choose either spelling ...
> (but in general, I'd provide both anyway).
>
> Mike
>
> ------------------------------
> *From:* Rick McGuire [mailto:[email protected]]
> *Sent:* 15 October 2014 16:22
> *To:* Open Object Rexx Developer Mailing List
> *Subject:* Re: [Oorexx-devel] Synonyms for canceled...
>
> That doesn't really work in this case, because these are methods that
> get called by the alarm objects, not methods that that the user calls.
>
> Rick
>
> On Wed, Oct 15, 2014 at 11:17 AM, Mike Cowlishaw <[email protected]>
> wrote:
>
>>
>>
>>
>> I was just defining an interface for the alarm class and was adding an
>> method that will be called when an alarm is canceled. As I typed the name
>> "alarmCanceled", I was uncertain of the correct spelling of "Canceled". It
>> turns out "canceled" and "cancelled" are both valid spellings...sigh. For
>> now, I'm using "alarmStopped" unless someone can come up with a better
>> alternative.
>>
>> Why not provide both the UK and US spellings? That's what we did for
>> centre/center and it must have saved many hours or days of peoples' time
>> over the years ... :-)
>>
>> Mike
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>> http://p.sf.net/sfu/Zoho
>> _______________________________________________
>> Oorexx-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel