package com.beem.project.beem.service.aidl;

import  com.beem.project.beem.service.aidl.IRoster;
import  com.beem.project.beem.service.aidl.IBeemConnectionListener;
import  com.beem.project.beem.service.aidl.IChatManager;

interface IXmppConnection {
    
    boolean connectSync();
    
    void connectAsync();
    
    boolean disconnect();
    
    IRoster getRoster();

    void addConnectionListener(in IBeemConnectionListener listen);
    void removeConnectionListener(in IBeemConnectionListener listen);
    
    IChatManager getChatManager();
}