src/com/beem/project/beem/service/aidl/IXmppConnection.aidl
changeset 526 62a448d5dfe9
parent 518 6b8089c9b834
parent 524 e1a9ba4611dc
child 545 0de3d7f3fa81
equal deleted inserted replaced
521:0444ac5038a0 526:62a448d5dfe9
     4 import  com.beem.project.beem.service.aidl.IBeemConnectionListener;
     4 import  com.beem.project.beem.service.aidl.IBeemConnectionListener;
     5 import  com.beem.project.beem.service.aidl.IChatManager;
     5 import  com.beem.project.beem.service.aidl.IChatManager;
     6 import  com.beem.project.beem.service.aidl.IPrivacyListManager;
     6 import  com.beem.project.beem.service.aidl.IPrivacyListManager;
     7 
     7 
     8 interface IXmppConnection {
     8 interface IXmppConnection {
     9     
     9 
    10     boolean connectSync();
    10     boolean connectSync();
    11     
    11 
    12     void connectAsync();
    12     void connectAsync();
    13     
    13 
    14     boolean disconnect();
    14     boolean disconnect();
    15     
    15 
    16     IRoster getRoster();
    16     IRoster getRoster();
    17 
    17 
    18     void addConnectionListener(in IBeemConnectionListener listen);
    18     void addConnectionListener(in IBeemConnectionListener listen);
    19     void removeConnectionListener(in IBeemConnectionListener listen);
    19     void removeConnectionListener(in IBeemConnectionListener listen);
    20     
    20 
    21     boolean isAuthentificated();
    21     boolean isAuthentificated();
    22     
    22 
    23     IChatManager getChatManager();
    23     IChatManager getChatManager();
    24     
    24 
       
    25     void changeStatusAndPriority(in int status, in String msg, in int priority);
       
    26 
       
    27     void changeStatus(in int status, in String msg);
       
    28 
    25     IPrivacyListManager getPrivacyListManager();
    29     IPrivacyListManager getPrivacyListManager();
    26 }
    30 }