net.sf.dexterim.core
Interface Conversation

All Known Implementing Classes:
AbstractConversation

public interface Conversation

Represents a Conversation with one or more Contacts

Author:
Christoph Walcher

Method Summary
 void addConversationListener(ConversationListener listener)
           
 void close()
          Ends the Conversation and frees unused Resources
 void join(Contact contact)
          Add contact to the conversation.
 void open()
          Connects the Conversation object to the messenger network
 void removeConversationListener(ConversationListener listener)
           
 void sendMessage(java.lang.String message)
          Sends a Message in encoded in a String over the implements network.
 

Method Detail

join

public void join(Contact contact)
Add contact to the conversation.

Parameters:
contact - The Contact object that should join the Conversation

open

public void open()
Connects the Conversation object to the messenger network


sendMessage

public void sendMessage(java.lang.String message)
Sends a Message in encoded in a String over the implements network. It's in the responsibility of the implementing Class to encode the String message


close

public void close()
Ends the Conversation and frees unused Resources


addConversationListener

public void addConversationListener(ConversationListener listener)
Parameters:
listener -

removeConversationListener

public void removeConversationListener(ConversationListener listener)
Parameters:
listener -


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