Methods
|
|
__init__
changeName
changeStatus
messageReceived
|
|
__init__
|
__init__ (
self,
im,
gateway,
target,
)
represents a conversation with a single user.
im := the InstanceMessenger that's being used (class InstanceMessenger)
gateway := the gateway the conversation is over (class Gateway)
target := the user who the conversation is with (string)
|
|
changeName
|
changeName ( self, newName )
called when this user changes their name on the server.
newName := the users new name (string)
|
|
changeStatus
|
changeStatus ( self, newState )
called when this user changes their status.
newState := the users new state (string)
|
|
messageReceived
|
messageReceived ( self, message )
called when we get a message sent to us.
message := the message that was sent (string)
|