[Gambas-devel] XML-RPC component

Daniel Campos daniel.campos at ...103...
Mon Apr 4 17:10:20 CEST 2005


>
>This should be solved by the previous 'gbx_stream.c' patch.
>  
>
OK, now works without problems


>  
>
>>- It would be nice if I could use the _unknown special method in the
>>class, so the client
>>would look exactly like a local function. I think Gambas could receive
>>this method as:
>>
>>Public function _unknown(Data As Variant[]) As Variant
>>
>>    
>>
>
>Not simple... This needs some elbow grease.
>  
>

Well, this is not very important...

>>or may be a new KeyWord in the class, 
>>something like
>>"EXCLUDE function_name, funcion_name..." to not export these symbols?
>>
>>    
>>
>
>Maybe you should split your class: one that manage the HttpClient and the 
>Socket, and another that is exported.
>  
>
I found no way to do it, in fact I've splitted the class, but I can't 
find any way
to manage the events in asynchronous mode without showing any functions...

I think the "EXCLUDE" key word would be easy to implement, for example:

EXCLUDE PUBLIC SUB Foo (Data As Integer)

--> gbi2 does not report this symbol in the .info file


>
>I get NO error at all if the server is not running!
>
>But if I run the server, and I move the client button, the server raises an 
>error: it seems that is does not receive the second integer argument of the 
>XML/RPC call.
>
>  
>
Mmmhh... I don't know, I have to work more with this... I'll tell you 
later :-))

I send you the 0.5 release:

-> Component splitted: gb.xml.rpc , gb.xml.rpc.client and gb.xml.rpc.server
-> RpcServer fires the "RemoteCall" event no more, instead, the user 
tells the
server the Object or Class and the Method that will mange the call, and the
server will call it automatically that function using Object.Call
-> RpcClient recognices Byte[], Integer[], Short[], Float[], Date[] and 
String[] as
homogeneous RpcArrays.
-> RpcClient supports Proxies, and authentication.
-> Examples updated
-> Documents updated

Regards,

D. Campos





-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml_rpc_0_5.tar.bz2
Type: application/x-bzip
Size: 49584 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050404/59a1364d/attachment.bin>


More information about the Devel mailing list