org.eclipse.ecf.protocol.msn.events
Interface IContactListener


public interface IContactListener

The IContactListener interface defines methods that developers can listen for which pertains to the Contact class.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Method Summary
 void nameChanged(java.lang.String name)
          This method is called when contact has changed his or her user name.
 void personalMessageChanged(java.lang.String personalMessage)
          This method is called when the user changes his or her personal message.
 void statusChanged(Status status)
          This method is called when the contact has changed his or her status.
 

Method Detail

nameChanged

void nameChanged(java.lang.String name)
This method is called when contact has changed his or her user name.

Parameters:
name - the new name that the contact is using

personalMessageChanged

void personalMessageChanged(java.lang.String personalMessage)
This method is called when the user changes his or her personal message.

Parameters:
personalMessage - the new message that the contact is displaying

statusChanged

void statusChanged(Status status)
This method is called when the contact has changed his or her status.

Parameters:
status - the status that the contact has now switched to