blueme.messenger.interfaces
Interface iKernel_Com

All Known Implementing Classes:
Kernel

public interface iKernel_Com

Interface for the Kernel module, used by the communication modules.


Method Summary
 void deliverMessage(iMSG msg)
          Deliver new incoming message.
 iConfig getConfig()
          Used to get the configuration data.
 iUserData getUserData()
          Used to get user data.
 iUserList[] getUserList()
          Used to get the buddy list.
 void newUser(java.lang.String address)
          Deliver Bluetooth addres of newly discovered unit.
 

Method Detail

deliverMessage

void deliverMessage(iMSG msg)
Deliver new incoming message.


newUser

void newUser(java.lang.String address)
Deliver Bluetooth addres of newly discovered unit. Only used by "P2P" modules.


getUserData

iUserData getUserData()
Used to get user data. Returns a fresh iUserData object if there are no user data available.


getConfig

iConfig getConfig()
Used to get the configuration data. Returns a fresh iConfig object if there are no configuration data available.


getUserList

iUserList[] getUserList()
Used to get the buddy list. Returns an array of iUserList objects. Ordering are undefined, and if there are no users on the buddy list, an array of size 0 is returns.