github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

nesium / cocoa-amf

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 40
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Wiki (3)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • gh-pages
    • master ✓
    • restful_client
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Objective-C implementation of the Flash Remoting format (AMF0/AMF3) for servers and clients. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

- fixed a typo in the DemoCallerDelegate protocol and thus resulting in 
AppDelegate (thanks to sean brady for pointing out) 
nesium (author)
Mon Feb 08 15:35:53 -0800 2010
commit  cb572e6e6ce133a0b780ad849deeadd338d2890a
tree    b13b0671ec7fcf8dd69fb90bba0852b38e3a3c25
parent  8f98142e97143462950e216024ae95a8b26426fb
cocoa-amf /
name age
history
message
file .gitattributes Thu Jan 08 15:18:17 -0800 2009 turned back to git i guess [nesium]
file .gitignore Fri Feb 20 04:04:07 -0800 2009 - added mode2v3 files [nesium]
directory CocoaAMF-iPhone.xcodeproj/ Fri Jun 19 14:22:35 -0700 2009 fixed bugs in the iphone version: - exception n... [nesium]
directory CocoaAMF.xcodeproj/ Thu Jan 07 16:11:03 -0800 2010 - AMFUnarchiver now falls back to Latin1 when d... [nesium]
directory CocoaAMF/ Mon Jan 11 15:04:42 -0800 2010 if both service and method passed to amfremotin... [nesium]
directory Examples/ Mon Feb 08 15:35:53 -0800 2010 - fixed a typo in the DemoCallerDelegate protoc... [nesium]
file LICENSE.txt Sat Jan 10 16:45:18 -0800 2009 - added AMFRemotingCall and an example for usag... [nesium]
directory Libraries/ Sat Jan 10 12:55:02 -0800 2009 added CocoaAsyncSocket for ServerExample [nesium]
file README.markdown Sun Mar 29 14:42:36 -0700 2009 - updated readme file [nesium]
directory Tests/ Thu Jan 07 16:11:03 -0800 2010 - AMFUnarchiver now falls back to Latin1 when d... [nesium]
README.markdown

CocoaAMF

Description

CocoaAMF is a set of classes which can make AMF0 and AMF3 remoting calls or act as a server to handle AMF requests.

Examples

For sending a remoting call see SimpleRemotingCallExample. For setting up a server see ServerExample.

For testing an existing AMF server a more complex tool is provided, namely AMFClient, so be sure to check it out!

If you want to send custom classes from Cocoa make sure to implement the NSCoding protocol. You can encode keyed and non-keyed, where the latter means you're encoding an externalizable class.

While deserializing, if no class with the classname of the received object is found, CocoaAMF creates an instance of ASObject which will contain all attributes of that object and its classname as the ivar 'type'.

iPhone Support

01/11/09 I have added an example for remoting calls from the iPhone. See the XCode project CocoaAMF-iPhone.

Usage of the iPhone as an AMF Server is still untested.

Todo

  • Full test coverage

Contact

If you have any questions or ideas, let me know at mb@nesium.com.

Thanks

  • Deusty Designs for CocoaAsyncSocket (http://code.google.com/p/cocoaasyncsocket/)
  • Binary God for BGHUDAppKit (http://code.google.com/p/bghudappkit/)
  • Jonathan Wight for TouchJSON (http://code.google.com/p/touchcode/)
  • The PyAMF Team for PyAMF (http://pyamf.org/) and therefor letting me have a reference and unit tests which I can steal shamelessly
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server