home *** CD-ROM | disk | FTP | other *** search
- package com.althea.client.shufflr.model
- {
- import mx.rpc.AsyncToken;
- import mx.rpc.IResponder;
- import mx.rpc.http.HTTPService;
- import org.puremvc.as3.multicore.patterns.proxy.Proxy;
-
- public class HelloWorldProxy extends Proxy implements IResponder
- {
- public static const NAME:String = "HelloWorldProxy";
-
- private var service:HTTPService;
-
- private var username:String;
-
- public function HelloWorldProxy(param1:Object = null)
- {
- super(NAME,param1);
- this.service = new HTTPService();
- this.service.method = "GET";
- }
-
- public function helloWorld() : void
- {
- this.service.url = NavMapProxy.serverUrl + "hello_world";
- var _loc1_:AsyncToken = this.service.send(null);
- _loc1_.dataType = "helloWorld";
- _loc1_.addResponder(this);
- }
-
- public function fault(param1:Object) : void
- {
- }
-
- public function result(param1:Object) : void
- {
- }
- }
- }
-
-