|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITopicUser
Method Summary | |
---|---|
void |
addListener(ITopicListener eventListener)
Add an topic listener for the specified topic. |
void |
addUser(org.eclipse.ecf.core.user.IUser userInfo)
|
java.lang.String[] |
getMembers()
Retrieve the current members of the group. |
java.lang.String |
getTopicName()
Get the name of the topic. |
void |
removeListener(ITopicListener eventListener)
Remove an topic listener for the specified topic. |
void |
removeUser(org.eclipse.ecf.core.user.IUser userInfo)
|
void |
sendMessage(java.lang.String[] ids,
java.lang.Object msgObject)
Send message to specified users. |
Method Detail |
---|
java.lang.String getTopicName()
void sendMessage(java.lang.String[] ids, java.lang.Object msgObject) throws java.io.IOException
ids
- An array of user ids to send message to. If the value is null or the
array is empty all members of the topic will be send the message.msgObject
- Message to be send. This object and all container objects must
be serializable.
java.io.IOException
java.lang.String[] getMembers()
void addListener(ITopicListener eventListener)
topicListener
- The topic listener to process events for the topic.void removeListener(ITopicListener eventListener)
topicListener
- The topic listener to be removed.void addUser(org.eclipse.ecf.core.user.IUser userInfo)
void removeUser(org.eclipse.ecf.core.user.IUser userInfo)
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |