@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb009 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
extlib
/
XMLRPC
/
Transport
/
Path :
Upload File :
New :
File
Dir
/homepage/v-mt/extlib/XMLRPC/Transport/TCP.pm
# ====================================================================== # # Copyright (C) 2000-2001 Paul Kulchenko (paulclinger@yahoo.com) # SOAP::Lite is free software; you can redistribute it # and/or modify it under the same terms as Perl itself. # # $Id: TCP.pm,v 1.3 2001/08/11 19:09:58 paulk Exp $ # # ====================================================================== package XMLRPC::Transport::TCP; use strict; use vars qw($VERSION); $VERSION = eval sprintf("%d.%s", q$Name: release-0_52-public $ =~ /-(\d+)_([\d_]+)/); use XMLRPC::Lite; use SOAP::Transport::TCP; # ====================================================================== package XMLRPC::Transport::TCP::Server; @XMLRPC::Transport::TCP::Server::ISA = qw(SOAP::Transport::TCP::Server); sub initialize; *initialize = \&XMLRPC::Server::initialize; # ====================================================================== 1; __END__ =head1 NAME XMLRPC::Transport::TCP - Server/Client side TCP support for XMLRPC::Lite =head1 SYNOPSIS use XMLRPC::Transport::TCP; my $daemon = XMLRPC::Transport::TCP::Server -> new (LocalAddr => 'localhost', LocalPort => 82, Listen => 5, Reuse => 1) -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat)) -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method') ; print "Contact to XMLRPC server at ", join(':', $daemon->sockhost, $daemon->sockport), "\n"; $daemon->handle; =head1 DESCRIPTION =head1 COPYRIGHT Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 AUTHOR Paul Kulchenko (paulclinger@yahoo.com) =cut