Try this:
var recipient = Ape.getUserByPubid(pubId);
recipient.pipe.sendRaw('myCommand', {
     myParam1: 'myValue1'
});

On Thu, May 5, 2011 at 12:46 AM, Léo SEI <[email protected]> wrote:

> Hi,
>
> I'm trying to send a raw to a pipe which pubid is store in a database
> at the connection time.
>
> On th server side I'm retrieving the pubid from the db and I try to
> send the raw using :
> Ape.getPipe( pubid ).sendRaw();
>
> but I always get a "pipe is not defined" error.
>
> I also stored the name of the user and the channel name, that's all
> the information i have on the user.
> Is there any way to easily push something to this client ?
>
> Thanks a lot,
> It's probably really easy but i can't seem to find the solution.
>
> Léo
>
> --
> 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 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/

Reply via email to