|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChatRoomAdminListener
Listener for chat room subject changes
Note these methods will be called asynchronously when notifications of remote changes are received by the provider implementation code. The provider is free to call the methods below with an arbitrary thread, so the implementation of these methods must be appropriately prepared.
For example, if the code implementing any of these methods must interact with user interface code, then it should use code such as the following to execute on the SWT UI thread:
Display.getDefault().asyncExec(new Runnable() { public void run() { ... UI code here } });Further, the code in the implementations of these methods should not block via I/O operations or blocking UI calls.
Method Summary | |
---|---|
void |
handleSubjectChange(ID from,
java.lang.String newSubject)
Handle notification of new subject set for the associated chat room. |
Method Detail |
---|
void handleSubjectChange(ID from, java.lang.String newSubject)
from
- the ID of the user the subject change is from. May be
null
if user is not known, or change is not
from any particular user (i.e. the system).newSubject
- the new subject for the chat room. Will not be
null
, but may be empty String.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |