How does it work?


Since we’re currently working only with the yahoo messenger protocol we’re going to talk about it.

Every account can have many different profiles (identities) through which they can communicate. By default each account has only one profile with the same name as the account. This works for us because we can have different names (profiles, identities) on one client connected to yahoo messenger. A different account requires another instance of our client to be started and connected to ymsg thus eating more ram and cpu time.

Mind you, protocols like Skype or MSN don’t support profiles, so these will be limited to Y! messenger as far as I know. We will probably support a lot less identities on these other protocols because they are more expensive hardware wise.

Further more each profile or name can have an infinite ammount of services attached to it. Services act like a namespace in xml. Say something like “weather New York” to one profile and it will send the parameter “New York” to the weather service and return to you the weather from New York, but say “twit Hello Everybody” to the same profile and it will send the parameters “Hello Everybody” to the twitter service which probably belongs to another developer.

You can be implementing these services using paip.

So, you’re probably wondering now how does everything connect?

Rather simple.

But about that in the next blog post…


SPEAK / ADD YOUR COMMENT
Comments are moderated.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Return to Top

How does it work?

FRESH / LATEST POSTS