HomeSort by relevance Sort by last modified time
    Searched refs:ChatSession (Results 1 - 7 of 7) sorted by null

  /packages/apps/IM/src/com/android/im/engine/
ChatSessionListener.java 21 * Interface that allows the implementing classes to listen for ChatSession
29 * Called when a new ChatSession is created.
31 * @param session the created ChatSession.
33 public void onChatSessionCreated(ChatSession session);
ChatSessionManager.java 32 protected Vector<ChatSession> mSessions;
36 mSessions = new Vector<ChatSession>();
41 * events related to ChatSession.
61 * Creates a new ChatSession with specified participant.
64 * @return the created ChatSession.
66 public synchronized ChatSession createChatSession(ImEntity participant) {
67 for(ChatSession session : mSessions) {
73 ChatSession session = new ChatSession(participant, this);
84 * Closes a ChatSession. This only removes the session from the list; th
    [all...]
MessageListener.java 22 * Listeners are registered with ChatSession objects.
28 * @param ses the ChatSession.
31 public void onIncomingMessage(ChatSession ses, Message msg);
36 * @param ses the ChatSession.
40 public void onSendMessageError(ChatSession ses, Message msg, ImErrorInfo error);
ChatSession.java 28 * A ChatSession represents a conversation between two users. A ChatSession has
31 public class ChatSession {
38 * Creates a new ChatSession with a particular participant.
43 ChatSession(ImEntity participant, ChatSessionManager manager) {
105 * Called by ChatSessionManager when received a message of the ChatSession.
137 Log.i("ChatSession", "Message has been removed when we get delivery error:"
  /packages/apps/IM/src/com/android/im/imps/
ImpsChatSessionManager.java 27 import com.android.im.engine.ChatSession;
53 protected void sendMessageAsync(final ChatSession ses, final Message message) {
104 ChatSession session = findSession(recipentAddress);
217 ChatSession ses = findSession(address);
232 * Finds the ChatSession which the message belongs to.
235 * @return the ChatSession or <code>null</code> if the session not exists.
237 private ChatSession findSession(Address address) {
238 for(ChatSession session : mSessions) {
  /packages/apps/IM/src/com/android/im/service/
ChatSessionManagerAdapter.java 33 import com.android.im.engine.ChatSession;
80 ChatSession session = mSessionManager.createChatSession(contact);
86 ChatSession session = adapter.getAdaptee();
139 ChatSessionAdapter getChatSessionAdapter(ChatSession session) {
154 public void onChatSessionCreated(ChatSession session) {
ChatSessionAdapter.java 24 import com.android.im.engine.ChatSession;
66 ChatSession mAdaptee;
84 public ChatSessionAdapter(ChatSession adaptee,
135 public ChatSession getAdaptee() {
472 public void onIncomingMessage(ChatSession ses, final Message msg) {
502 public void onSendMessageError(ChatSession ses, final Message msg,

Completed in 68 milliseconds