Copyright © 2007-2018 by Herbert Poul

You are not logged in.

Change Language:

AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools

Creating Protocol Extensions

Development / CreatingProtocolExtensions

In this document i am trying to explain how to add support for a new protocol to GOIM 2.

I'm doing this by giving the example of adding xfire support.

1. Creating a new protocol project

This will be the base protocol support.

This class will only need one method:

public IIMAccountConnection createIMAccountConnect(IAccount account)

the job of this method is to create a new IM connection for the given account.

So you need to create a new class which implements 'IIMAccountConnection' and - to make your life easier - extends AbstractIMAccountConnection.

2. Creating a new protocol UI project

The UI project is responsible for providing the login/register (if appropriate) dialogs for the wizard. It might also contain other protocol specific UI.

Last Modified: 2008-03-08 19:32:43 by Herbert Poul - [ Snip Changes ] [ Wiki History ]


No comments yet.

Powered by Sphene Community Tools