Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Private chat/Buddylist/User events
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bjarman  
View profile  
 More options Sep 13, 2:50 am
From: Bjarman <fredrik.bjar...@gmail.com>
Date: Sat, 12 Sep 2009 23:50:49 -0700 (PDT)
Local: Sun, Sep 13 2009 2:50 am
Subject: Private chat/Buddylist/User events
Hello!

I am a complete noob to comet and meteor. I have a few questions. I
would like to know if there is any possibility for meteor server to
push data to a single user?

In a chat context this would be represented as a private chat. But in
a more general context this could for instance be represented by a
user with a buddylist getting notifications about what other users in
his/hers buddylist are doing at the moment.

For instance, user A has user B,C, and D in his buddylist. User B and
C are in a private chat and user D is reading a forum post. User A
would then be notified about user B, C and D's current activities.

Is there anyway that each user could be autosubscribed to a channel
consisting of events from users in his buddylist?

Hmm, perhaps this comes out a bit confusing....I hope someone
understands what I am getting at.

If anyone has made a successful example that might resemble what I am
looking for please post a link and an explanation.

Br / Bjarman


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Peno  
View profile  
 More options Sep 13, 1:00 pm
From: Kevin Peno <kevinp...@gmail.com>
Date: Sun, 13 Sep 2009 10:00:51 -0700
Local: Sun, Sep 13 2009 1:00 pm
Subject: Re: Private chat/Buddylist/User events

You could do it a couple of ways.

The easiest way would be to have each user subscribe to a public
notification channel. Then, when they are notified of a private chat, they
subscribe to the new chat channel for that chat.

If you will have a have a high traffic site, this probably will not work do
to meteor's scaling (it scales well for number of users, but not number of
channels). You should just have a global chat channel. Then, to keep from
snooping, you could encrypt the chat messages and decrypt them on the client
side. To get the chat convo's cypher key you make an ajax request for it on
the client side so that it is never sent through the global channel.

Hope that helps some :)

Kevin Peno
W: 425.582.8139
C: 425.408.1094


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris James  
View profile  
 More options Sep 13, 11:06 pm
From: Chris James <dcrawks...@gmail.com>
Date: Sun, 13 Sep 2009 20:06:25 -0700 (PDT)
Local: Sun, Sep 13 2009 11:06 pm
Subject: Re: Private chat/Buddylist/User events
Have you looked at Jabber/eJabberd/XMPP protocol?

On Sep 13, 2:50 am, Bjarman <fredrik.bjar...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bjarman  
View profile  
 More options Sep 14, 2:45 am
From: Bjarman <fredrik.bjar...@gmail.com>
Date: Sun, 13 Sep 2009 23:45:59 -0700 (PDT)
Local: Mon, Sep 14 2009 2:45 am
Subject: Re: Private chat/Buddylist/User events
Interesting thoughts. How would you suggest that user A will be
notified of a private chat request from user B?

My concern is that I would like to enable the push of events
concerning only a few users, 1to1 or 1to many.

Hmmm, ...mind boggeling...

On Sep 13, 7:00 pm, Kevin Peno <kevinp...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bjarman  
View profile  
 More options Sep 14, 2:47 am
From: Bjarman <fredrik.bjar...@gmail.com>
Date: Sun, 13 Sep 2009 23:47:35 -0700 (PDT)
Local: Mon, Sep 14 2009 2:47 am
Subject: Re: Private chat/Buddylist/User events
Yes, for a chat only application jabber would suffice I guess. But i
would like not only to push chat events but in fact any event
concerning user activities. I have no experience in the jabber
protocol, perhaps it can do more than chat related stuff?

Are there any live examples where jabber is used "out of context" like
this?

Br / Fredrik

On Sep 14, 5:06 am, Chris James <dcrawks...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Peno  
View profile  
 More options Sep 14, 2:49 am
From: Kevin Peno <kevinp...@gmail.com>
Date: Sun, 13 Sep 2009 23:49:26 -0700
Local: Mon, Sep 14 2009 2:49 am
Subject: Re: Private chat/Buddylist/User events

In either case you'd send a global ping with some response that tells a
given client "hey, you have a message" and then either, in case #1, tell it
to join channel X or, in case #2, tell it to send an ajax request for the
chat decode key so that they can receive the messages.

Kevin Peno
W: 425.582.8139
C: 425.408.1094


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google