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

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

interface IXMPPConnection {
    
    boolean connectSync(in String username, in String password, in String resource);
    
    void connectAsync(in String username, in String password, in String resource);
    
    boolean disconnect();
    
  //  void login(String username, String password, String resource);
      
    IRoster getRoster();

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