/[cwmp]/google/trunk/bin/acs.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /google/trunk/bin/acs.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

google/bin/acs.pl revision 50 by dpavlin, Tue Jun 19 21:29:04 2007 UTC google/trunk/bin/acs.pl revision 112 by dpavlin, Fri Oct 26 11:42:39 2007 UTC
# Line 8  use strict; Line 8  use strict;
8    
9  use lib './lib';  use lib './lib';
10  use CWMP::Server;  use CWMP::Server;
11    use Getopt::Long;
12    
13  my $port = 3333;  my $port = 3333;
14    my $debug = 0;
15    my $store_path = 'state.db';
16    
17    GetOptions(
18            'debug+' => \$debug,
19            'port=i' => \$port,
20            'store-path=s' => \$store_path,
21    );
22    
23  my $server = CWMP::Server->new({  my $server = CWMP::Server->new({
24          port => $port,          port => $port,
25          debug => 1,          store_path => $store_path,
26          queue => [ qw/          debug => $debug,
27                  GetRPCMethods            default_queue => [ qw/
28                    GetRPCMethods
29                    GetParameterNames
30          / ],          / ],
31    #               Reboot
32  });  });
33  $server->run();  $server->run();
34    

Legend:
Removed from v.50  
changed lines
  Added in v.112

  ViewVC Help
Powered by ViewVC 1.1.26