WebServiceClass.as

转载 2004年09月06日 13:41:00

.WebServiceClass = (gatewayConnection, serviceURL){
        (ResponderClass == ){
                ();
        }
        .init.(, arguments);
};

WebServiceClass..init = (gatewayConnection, serviceURL){
        ASBroadcaster.initialize();
        .gatewayConnection = gatewayConnection;
        .service = .gatewayConnection.(serviceURL);
};

WebServiceClass..callMethod = (methodName, arg1, arg2, argN){
        arguments.();
        arguments.();
        .service[methodName].(.service, arguments);
};

WebServiceClass..callMethodAndRespond = (methodName,
                                                          callback_obj,
                                                          resultHandler,
                                                          statusHandler,
                                                          arg1, arg2, argN){
                (ResponderClass == ){
                ();
                ();
                ();
                ();
        }
        
        ( i=0; i<4; i++){
                arguments.();
        }
        
         responder =  ResponderClass(callback_obj, resultHandler, statusHandler);
        arguments.(responder);
        
        .service[methodName].(.service, arguments);
};

WebServiceClass.. = (){
        arguments.();
        .broadcastMessage.(, arguments);
};

WebServiceClass.. = (){
        arguments.();
        .broadcastMessage.(, arguments);
};
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:WebServiceClass.as
举报原因:
原因补充:

(最多只允许输入30个字)