/[cwmp]/google/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

Contents of /google/bin/acs.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (show annotations)
Mon Jun 18 07:59:20 2007 UTC (16 years, 11 months ago) by dpavlin
File MIME type: text/plain
File size: 521 byte(s)
begin implementation of own SOAP server for ACS
1 #!/usr/bin/perl -w
2
3 # acs.pl
4 #
5 # 06/18/07 09:19:54 CEST Dobrica Pavlinusic <dpavlin@rot13.org>
6
7 use strict;
8
9 use HTTP::Server::Simple;
10
11 my $port = 3333;
12
13 my $server = CWMP::Server->new( $port );
14 $server->run();
15
16 package CWMP::Server;
17
18 use Data::Dump qw/dump/;
19
20 use base qw(HTTP::Server::Simple::CGI);
21
22 sub handle_request {
23 my ($self, $cgi) = @_;
24
25 #... do something, print output to default
26 # selected filehandle...
27
28 warn $cgi->param('POSTDATA');
29
30 print "Content-Type: text/xml\r\n\r\n";
31
32 };
33
34 1;
35
36

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26