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

import com.beem.project.beem.service.aidl.IBeemRosterListener;
import com.beem.project.beem.service.Contact;

interface IRoster {
    
    Contact addContact(in String user, in String name, in String[] groups);
    
    void deleteContact(in Contact contact);
    
    Contact getContact(in String jid);
     
    void createGroup(in String groupname);
    
    List<Contact> getContactList();
    
    List<String> getGroupsNames();
    
    void addConnectionListener(in IBeemRosterListener listen);
    void removeConnectionListener(in IBeemRosterListener listen);

}