author | Da Risk <darisk972@gmail.com> |
Sat, 13 Mar 2010 18:06:22 +0100 | |
changeset 704 | e310d3275d5d |
parent 599 | cdadf4e39f99 |
child 906 | 0ff0059f2ec3 |
permissions | -rw-r--r-- |
599 | 1 |
/* |
2 |
BEEM is a videoconference application on the Android Platform. |
|
3 |
||
4 |
Copyright (C) 2009 by Frederic-Charles Barthelery, |
|
5 |
Jean-Manuel Da Silva, |
|
6 |
Nikita Kozlov, |
|
7 |
Philippe Lago, |
|
8 |
Jean Baptiste Vergely, |
|
9 |
Vincent Veronis. |
|
10 |
||
11 |
This file is part of BEEM. |
|
12 |
||
13 |
BEEM is free software: you can redistribute it and/or modify |
|
14 |
it under the terms of the GNU General Public License as published by |
|
15 |
the Free Software Foundation, either version 3 of the License, or |
|
16 |
(at your option) any later version. |
|
17 |
||
18 |
BEEM is distributed in the hope that it will be useful, |
|
19 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
GNU General Public License for more details. |
|
22 |
||
23 |
You should have received a copy of the GNU General Public License |
|
24 |
along with BEEM. If not, see <http://www.gnu.org/licenses/>. |
|
25 |
||
26 |
Please send bug reports with examples or suggestions to |
|
27 |
contact@beem-project.com or http://dev.beem-project.com/ |
|
28 |
||
29 |
Epitech, hereby disclaims all copyright interest in the program "Beem" |
|
30 |
written by Frederic-Charles Barthelery, |
|
31 |
Jean-Manuel Da Silva, |
|
32 |
Nikita Kozlov, |
|
33 |
Philippe Lago, |
|
34 |
Jean Baptiste Vergely, |
|
35 |
Vincent Veronis. |
|
36 |
||
37 |
Nicolas Sadirac, November 26, 2009 |
|
38 |
President of Epitech. |
|
39 |
||
40 |
Flavien Astraud, November 26, 2009 |
|
41 |
Head of the EIP Laboratory. |
|
42 |
||
43 |
*/ |
|
55
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
44 |
package com.beem.project.beem.service.aidl; |
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
45 |
|
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
46 |
import com.beem.project.beem.service.Message; |
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
47 |
import com.beem.project.beem.service.aidl.IChat; |
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
48 |
|
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
49 |
interface IMessageListener { |
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
50 |
|
704
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
51 |
/** |
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
52 |
* This method is executed when a chat receive a message. |
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
53 |
* @param chat the chat receiving the message. |
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
54 |
* @param msg the message received in the chat. |
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
55 |
*/ |
123 | 56 |
void processMessage(in IChat chat, in Message msg); |
599 | 57 |
|
188 | 58 |
/** |
704
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
59 |
* This method is executed when a new ChatState is received by the chat. |
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
60 |
* You can use IChat.getState() in order to get the new state. |
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
61 |
* @param chat the chat changed. |
e310d3275d5d
Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents:
599
diff
changeset
|
62 |
*/ |
188 | 63 |
void stateChanged(in IChat chat); |
55
66732dd2cb77
Add an interface for sending im message.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
64 |
} |