Login
Preferences
About
Register
Forgot your password?
Search:
Context Navigation
Back to Ticket #311
Download
Releases
SVN Access
Documentation
Features
Examples
Installation
Documentation
License
Community
Mailing Lists
IRC Channel
Weblog
Logos
Success Stories
Team
Development
Roadmap
Timeline
Browse Source
View Tickets
Buildbot
Ticket #311
: client-311.py
File client-311.py,
288 bytes
(added by thijs,
4 months
ago)
Line
1
import
logging
2
logging
.
basicConfig
(
format
=
logging
.
DEBUG
)
3
4
import
pyamf
5
from
pyamf.remoting.client
import
RemotingService
6
7
def
echo
():
8
return
'echo'
9
10
gw
=
RemotingService
(
'http://localhost:3636/'
,
amf_version
=
pyamf
.
AMF0
)
11
12
service
=
gw
.
getService
(
'Hello'
)
13
14
print
service
.
sayHello
(
echo
)
Download in other formats:
Original Format