net.sf.dexterim.msn
Class MsnConnection

java.lang.Object
  extended bynet.sf.dexterim.core.AbstractIMConnection
      extended bynet.sf.dexterim.msn.MsnConnection
All Implemented Interfaces:
IMConnection, MessageListener

public class MsnConnection
extends AbstractIMConnection
implements MessageListener

Author:
Christoph Walcher

Constructor Summary
MsnConnection()
          Creates a new instance of MsnConnection
 
Method Summary
 void challengeReceived(ChallengeMessage message)
           
 void connect(Account account)
           
protected  void connect(Account account, java.lang.String host, int port)
           
 Account connectedAs()
           
 Conversation createConversation()
           
 void disconnect()
           
protected  void inviteReceived(InviteMessage message)
           
 boolean isConnected()
           
 void messageReceived(MessageEvent event)
           
 void processContact(ContactListMessage message)
          DOCUMENT ME!
protected  void send(java.io.PrintStream out, java.lang.String s)
           
protected  void send(java.io.PrintStream out, java.lang.String s1, java.lang.String s2)
          DOCUMENT ME!
protected  void send(java.lang.String command, java.lang.String body, java.io.PrintStream out)
           
 void sendSwitchboardRequest(MsnConversation conversation)
           
protected  void setConnected(boolean connected)
          Setter for property connected.
protected  void switchBoardReceived(SwitchBoardMessage message)
           
 void synchronizeContactList(ContactList contactList)
           
 
Methods inherited from class net.sf.dexterim.core.AbstractIMConnection
addConnectionListener, fireConversationCreated, removeConnectionListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsnConnection

public MsnConnection()
Creates a new instance of MsnConnection

Method Detail

connect

public void connect(Account account)
Specified by:
connect in interface IMConnection

connect

protected void connect(Account account,
                       java.lang.String host,
                       int port)

disconnect

public void disconnect()
Specified by:
disconnect in interface IMConnection

isConnected

public boolean isConnected()
Specified by:
isConnected in interface IMConnection

send

protected void send(java.lang.String command,
                    java.lang.String body,
                    java.io.PrintStream out)

send

protected void send(java.io.PrintStream out,
                    java.lang.String s)

send

protected void send(java.io.PrintStream out,
                    java.lang.String s1,
                    java.lang.String s2)
DOCUMENT ME!

Parameters:
s1 - DOCUMENT ME!
s2 - DOCUMENT ME!

setConnected

protected void setConnected(boolean connected)
Setter for property connected.

Parameters:
connected - New value of property connected.

connectedAs

public Account connectedAs()
Specified by:
connectedAs in interface IMConnection

createConversation

public Conversation createConversation()
Specified by:
createConversation in interface IMConnection

sendSwitchboardRequest

public void sendSwitchboardRequest(MsnConversation conversation)

switchBoardReceived

protected void switchBoardReceived(SwitchBoardMessage message)

challengeReceived

public void challengeReceived(ChallengeMessage message)

inviteReceived

protected void inviteReceived(InviteMessage message)

messageReceived

public void messageReceived(MessageEvent event)
Specified by:
messageReceived in interface MessageListener

processContact

public void processContact(ContactListMessage message)
DOCUMENT ME!

Parameters:
message - DOCUMENT ME! the other lists

synchronizeContactList

public void synchronizeContactList(ContactList contactList)
Specified by:
synchronizeContactList in interface IMConnection


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.