[Umts-tools-commits] arch commit: umts-tools--main--0--patch-15

Jeremy Lainé sharky at sharky.jerryweb.org
Wed Nov 24 08:13:51 GMT 2004


Revision: umts-tools--main--0--patch-15
Archive: jeremy.laine at m4x.org--work
Creator: Jeremy Laine <jeremy.laine at m4x.org>
Date: Wed Nov 24 09:13:11 CET 2004
Standard-date: 2004-11-24 08:13:11 GMT
Modified-files: ChangeLog src/UMTS/Dialer.pm
    src/UMTS/Terminal.pm src/dialer.pl src/smser.pl
    umts-tools.kdevelop
New-patches: jeremy.laine at m4x.org--work/umts-tools--main--0--patch-15
Summary: named arguments for Terminal and Dialer constructors 
Keywords: 

Instead of positional parameters, the Terminal and Dialer classes
now use named arguments for better flexibility.

This means for instance, that you can create a Dialer in several ways:

my $dialer = new UMTS::Dialer(call_number => "01xxxxxxx");

..or, if you want to specify the number of voice calls to place:

my $dialer = new UMTS::Dialer(call_number => "01xxxxxxx", call_max => 200);

.. or, if you want to set the debugging mode:

my $dialer = new UMTS::Dialer(call_number => "01xxxxxxx", debug => 1);

-- 
http://dev.jerryweb.org/archzoom/jeremy.laine@m4x.org--work/umts-tools--main--0--patch-15?log?expand




More information about the umts-tools-commits mailing list