I don't think that "pipe.onSend" is what you are looking or: This callback is 
called when a raw "SEND" is sent by a client to our custom pipe.


  - Louis

Le 2013-04-08 à 15:25, Pablo Tejada <[email protected]> a écrit :

> There is an onSend or on_send method wich you could overwrite with your own 
> function, not sure it applies to the channel or pipe object
> 
> On Apr 8, 2013 3:02 PM, "Nicolas Guibert" <[email protected]> wrote:
> Hi Pablo,
> 
> On the client side, I have just added a "listener" like this in core.js:
> parseResponse: function(raws, callback)
>         {
>             if(typeof window.console != 'undefined'
>             && typeof window.console.log != 'undefined')
>             {
>                 console.log("OOOOOOOOO RAW core_new2.js: parseResponse 
> raws:"+raws +" callback:"+callback);
>             }
> 
> On the server side, I use this syntax to send a new message:
> pipe_player.sendRaw(raw_name,raw_details);
> 
> This said, I think that there is a good chance that I found my problem. When 
> a message had gone wrong, I stored it with the pipe_player information. 
> Although, I was properly cloning the message content to prevent it from being 
> overriden in the meantime, I forgot to do the same with pipe_player. I will 
> now store the pubid instead of pipe_player. Hopefully, this will be enough to 
> solve a bug that has been in my code for one year and that was giving me much 
> headache. 
> 
> Thanks for your interest Pablo. If you know a way to listen to what's coming 
> out of the server, I am still interested as this can be helpful at any time.
> 
> Nicolas.
> 
> 
> 
> 
> 
> 2013/4/8 Pablo Tejada <[email protected]>
> Can you post some code of how you are sending the raw from ther server and 
> how you are listening for the raw on the client? Please do include how you 
> get the pipe object on where you send the raw through.
> 
> On Apr 8, 2013 9:05 AM, "Nicolas" <[email protected]> wrote:
> Hi,
> 
> I have run into an issue. The server most likely does not send some customs 
> raws that he is supposed to send. Because these messages are not acknowledged 
> by the client, the server tries to send them back again and again but the 
> client never gets them.
> 
> There are two possibilities here: either the server does not send the message 
> or the client can't receive it. The connexion between the server and the 
> client is not broken, because a third message is well received by the client.
> 
> I'd like to log what actually comes out of the server. I guess the only way 
> to do this is by tweaking the C code. Where is that? I can then recompile the 
> code and see.
> 
> Thanks for you help.
> 
> Nicolas.
> 
> 
> 
> 
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
> 
> 
> 
> -- 
> 
> 
> 
> 
> Nicolas Guibert
> Games in Mind Ltd
> Managing director
> 7 Spencer Walk
> Tel: +44 (0)207 435 0315
> UK Mobile: +44 (0)7638 657 537
> French Mobile: +33 (0)7 53 17 20 13
> Email: [email protected]
> 
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
> 
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to