blueme.messenger.interfaces
Interface iGUI_Kernel

All Known Implementing Classes:
GUI

public interface iGUI_Kernel


Method Summary
 void newMessage(iMSG msg)
          This method notifies the GUI that there is a new incoming message.
 void notifyBMC(boolean state)
          NOT IN USE Used to notify the GUI that it should change a user notification on BMC (BlueMe Central).
 void notifyBMS(boolean state)
          NOT IN USE Used to notify the GUI that it should change a user notification on BMS (BlueMe Shop!).
 void setKernelReference(iKernel_GUI kernel)
          Method used for transfering a reference for Kernel to GUI.
 void updatedBuddyList(boolean newBuddy)
          Used to alert the GUI that there has been changes to the buddy list.
 void updatedUserData(iUserData userData)
          This method notifies the GUI that there are updates to the UserData object.
 

Method Detail

setKernelReference

void setKernelReference(iKernel_GUI kernel)
Method used for transfering a reference for Kernel to GUI. GUI can not make much use of it self before this method is run. Method may only get used ones.


updatedBuddyList

void updatedBuddyList(boolean newBuddy)
Used to alert the GUI that there has been changes to the buddy list. This method is only used when there are changes not initiated by GUI (or the user). newBuddy will be “true” is there's a new buddy added to the buddy list. In any other case, it will be “false”.


newMessage

void newMessage(iMSG msg)
This method notifies the GUI that there is a new incoming message. Method is only used when there is a new incoming text message from another client (or the server for that matter). In other words, this is not used when the user sends outgoing messages.


updatedUserData

void updatedUserData(iUserData userData)
This method notifies the GUI that there are updates to the UserData object. For instance, this will happen if the current connection is lost, or a new connection is established. This method will not be used if updates are comming from GUI itself (using setUserData(..)), only external updates.


notifyBMS

void notifyBMS(boolean state)
NOT IN USE Used to notify the GUI that it should change a user notification on BMS (BlueMe Shop!). The user should get notified some what the same way as when there are new messages, but only when state is “true”. When state is “false”, a possible existing notification should get removed.


notifyBMC

void notifyBMC(boolean state)
NOT IN USE Used to notify the GUI that it should change a user notification on BMC (BlueMe Central). The user should get notified some what the same way as when there are new messages, but only when state is “true”. When state is “false”, a possible existing notification should get removed.