12 |
|
|
13 |
my $port = 3333; |
my $port = 3333; |
14 |
my $debug = 0; |
my $debug = 0; |
|
my $store_path = 'state.db'; |
|
15 |
|
|
16 |
GetOptions( |
GetOptions( |
17 |
'debug+' => \$debug, |
'debug+' => \$debug, |
18 |
'port=i' => \$port, |
'port=i' => \$port, |
|
'store-path=s' => \$store_path, |
|
19 |
); |
); |
20 |
|
|
21 |
my $server = CWMP::Server->new({ |
my $server = CWMP::Server->new({ |
22 |
port => $port, |
port => $port, |
23 |
store_path => $store_path, |
store => { |
24 |
|
module => 'DBMDeep', |
25 |
|
store_path => 'state.db', |
26 |
|
}, |
27 |
debug => $debug, |
debug => $debug, |
28 |
default_queue => [ qw/ |
default_queue => [ qw/ |
29 |
GetRPCMethods |
GetRPCMethods |