net.sf.dexterim.msn
Class MsnConnection
java.lang.Object
net.sf.dexterim.core.AbstractIMConnection
net.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MsnConnection
public MsnConnection()
- Creates a new instance of MsnConnection
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.