src/com/beem/project/beem/service/aidl/IMessageListener.aidl
changeset 704 e310d3275d5d
parent 599 cdadf4e39f99
child 928 0ff0059f2ec3
equal deleted inserted replaced
703:8cd09cb7b00b 704:e310d3275d5d
    46 import com.beem.project.beem.service.Message;
    46 import com.beem.project.beem.service.Message;
    47 import com.beem.project.beem.service.aidl.IChat;
    47 import com.beem.project.beem.service.aidl.IChat;
    48 
    48 
    49 interface IMessageListener {
    49 interface IMessageListener {
    50 
    50 
       
    51 	/**
       
    52 	 * This method is executed when a chat receive a message.
       
    53 	 * @param chat the chat receiving the message.
       
    54 	 * @param msg the message received in the chat.
       
    55 	 */
    51 	void processMessage(in IChat chat, in Message msg);
    56 	void processMessage(in IChat chat, in Message msg);
    52 
    57 
    53 	/**
    58 	/**
    54 	* le chatState se trouve dans le IChat
    59 	 * This method is executed when a new ChatState is received by the chat.
    55 	*/
    60 	 * You can use IChat.getState() in order to get the new state.
       
    61 	 * @param chat the chat changed.
       
    62 	 */
    56 	void stateChanged(in IChat chat);
    63 	void stateChanged(in IChat chat);
    57 }
    64 }