AMF-Perl
view release on metacpan or search on metacpan
doc/code.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title>AMF::Perl - Flash Remoting in Perl and Python</title>
<style>
body {
scrollbar-3d-light-color: #000000;
scrollbar-arrow-color: #000066;
scrollbar-base-color: #003366;
scrollbar-dark-shadow-color: #FFFFFF;
scrollbar-face-color: #003366;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #000000;
color: #000000;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
margin: 0px;
}
span.text {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
color: #003366;
}
span.red {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #990000;
}
div.notes {
background: #dddddd;
font-family: Verdana, Arial, helvetica, sans-serif;
font-size: 12px;
margin-left: 10px;
margin-right: 10px;
padding: 5px;
border-color: #000000;
}
div.tableSub {
background: #CCCCFF;
font-family: Verdana, Arial, helvetica, sans-serif;
font-size: 13px;
color: #003366;
margin-left: 0px;
margin-right: 0px;
padding: 2px;
border-color: #000099;
border-size: 2px;
}
pre {
color: #000000;
margin-left: 40px;
margin-right: 40px;
padding: 10px;
font-size: 12px;
}
doc/code.html view on Meta::CPAN
return $self;
}
sub echoNormal
{
my ($self, $data) = @_;
return $data;
}
sub echoDate
{
my ($self, $data) = @_;
return $data;
}
sub echoXML
{
my ($self, $data) = @_;
return $data;
}
sub methodTable
{
return {
"echoNormal" => {
"description" => "Echoes the passed argument back to Flash (no need to set the return t
ype)",
"access" => "remote", # available values are private, public, remote
},
"echoDate" => {
"description" => "Echoes a Flash Date Object (the returnType needs setting)",
"access" => "remote", # available values are private, public, remote
"returns" => "date"
},
"echoXML" => {
"description" => "Echoes a Flash XML Object (the returnType needs setting)",
"access" => "private", # available values are private, public, remote
"returns" => "xml"
}
};
}
1;
</textarea>
</td>
<td valign=top>
<textarea cols=50 rows=40>
import sys
class DataEcho:
def echoNormal(self, arg):
return arg
def echoDate(self, arg):
return arg
def echoXML(self, arg):
return arg
def methodTable(self):
table = {}
table["echoNormal"]= {
"description" : "Echoes the passed argument back to Flash (no need to set the return type)",
"access" : "remote", # available values are private, public, remote
}
table["echoDate"] = {
"description" : "Echoes a Flash Date Object (the returnType needs setting)",
"access" : "remote", # available values are private, public, remote
"returns" : "date"
}
table["echoXML"] = {
"description" : "Echoes a Flash XML Object (the returnType needs setting)",
"access" : "private", # available values are private, public, remote
"returns" : "xml"
}
return table
</textarea>
</td></tr></table>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</body>
</html>
( run in 1.802 second using v1.01-cache-2.11-cpan-df04353d9ac )