com.beem.project.beem.service.aidl
Interface IMessageListener

Package class diagram package IMessageListener
All Superinterfaces:
IInterface
All Known Implementing Classes:
IMessageListener.Stub

public interface IMessageListener
extends IInterface


Nested Class Summary
static class IMessageListener.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 void otrStateChanged(String otrState)
          This method is executed when the otr session status change.
 void processMessage(IChat chat, Message msg)
          This method is executed when a chat receive a message.
 void stateChanged(IChat chat)
          This method is executed when a new ChatState is received by the chat.
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

processMessage

void processMessage(IChat chat,
                    Message msg)
                    throws RemoteException
This method is executed when a chat receive a message.

Parameters:
chat - the chat receiving the message.
msg - the message received in the chat.
Throws:
RemoteException

stateChanged

void stateChanged(IChat chat)
                  throws RemoteException
This method is executed when a new ChatState is received by the chat. You can use IChat.getState() in order to get the new state.

Parameters:
chat - the chat changed.
Throws:
RemoteException

otrStateChanged

void otrStateChanged(String otrState)
                     throws RemoteException
This method is executed when the otr session status change.

Parameters:
otrState - the new state of otr session.
Throws:
RemoteException


Copyright © 2009 Beem-project.com. All Rights Reserved.