Package twisted :: Package im :: Module basechat :: Class Conversation
[show private | hide private]
[frames | no frames]

Class Conversation


A GUI window of a conversation with a specific person
Method Summary
  __init__(self, person, chatui)
  contactChangedNick(self, person, newnick)
Change a person's name.
  hide(self)
Hides the ConversationWindow
Deferred<twisted.internet.defer.Deferred> sendText(self, text)
Sends text to the person with whom the user is conversing.
  show(self)
Displays the ConversationWindow
  showMessage(self, text, metadata)
Display a message sent from the person with whom she is conversing

Method Details

__init__(self, person, chatui)
(Constructor)

Parameters:
person
           (type=Person<interfaces.IPerson>)
chatui
           (type=ChatUI)

contactChangedNick(self, person, newnick)

Change a person's name.
Parameters:
person
           (type=Person<interfaces.IPerson>)
newnick
           (type=string)

hide(self)

Hides the ConversationWindow

sendText(self, text)

Sends text to the person with whom the user is conversing.
Returns:
Deferred<twisted.internet.defer.Deferred>

show(self)

Displays the ConversationWindow

showMessage(self, text, metadata=None)

Display a message sent from the person with whom she is conversing
Parameters:
text
           (type=string)
metadata
           (type=dict)

Generated by Epydoc 1.1 on Sat Feb 15 21:17:50 2003 http://epydoc.sf.net