src/com/beem/project/beem/service/aidl/IXMPPConnection.aidl
author Da Risk <darisk972@gmail.com>
Thu, 26 Mar 2009 18:01:21 +0100
changeset 38 3e76846c48a9
parent 31 85faac00d92c
child 52 375194dc3bca
permissions -rw-r--r--
We can now get the contact list of the user. Need to complete the Contact class and try to get some information on the mobile contact directory.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
     1
package com.beem.project.beem.service.aidl;
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
     2
30
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents: 29
diff changeset
     3
import  com.beem.project.beem.service.aidl.IRoster;
31
85faac00d92c Asynchronous service almost perfect.
Da Risk <darisk972@gmail.com>
parents: 30
diff changeset
     4
import  com.beem.project.beem.service.aidl.IBeemConnectionListener;
30
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents: 29
diff changeset
     5
29
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
     6
interface IXMPPConnection {
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
     7
    
38
3e76846c48a9 We can now get the contact list of the user.
Da Risk <darisk972@gmail.com>
parents: 31
diff changeset
     8
    boolean connectSync();
31
85faac00d92c Asynchronous service almost perfect.
Da Risk <darisk972@gmail.com>
parents: 30
diff changeset
     9
    
38
3e76846c48a9 We can now get the contact list of the user.
Da Risk <darisk972@gmail.com>
parents: 31
diff changeset
    10
    void connectAsync();
29
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    11
    
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    12
    boolean disconnect();
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    13
    
30
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents: 29
diff changeset
    14
    IRoster getRoster();
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents: 29
diff changeset
    15
31
85faac00d92c Asynchronous service almost perfect.
Da Risk <darisk972@gmail.com>
parents: 30
diff changeset
    16
    void addConnectionListener(in IBeemConnectionListener listen);
85faac00d92c Asynchronous service almost perfect.
Da Risk <darisk972@gmail.com>
parents: 30
diff changeset
    17
    void removeConnectionListener(in IBeemConnectionListener listen);
29
a49d1556772c Starting work on the Service interface.
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    18
}