|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.LyConversation
public class LyConversation
Constructor Summary | |
---|---|
LyConversation()
default constructor. |
Method Summary | |
---|---|
void |
addSession(LySession session,
LyAreaController controller)
Add session to conversation. |
LyAreaController |
getController(java.lang.String sessionId)
Get controller with session id. |
java.util.Map<java.lang.String,LyAreaController> |
getControllers()
Get list of controllers. |
java.util.Map<java.lang.String,LySession> |
getSessions()
Get Sessions for conversation. |
java.lang.String |
getTabId()
|
LySession |
getTargetUserSession(java.lang.String sessionId)
Get Session from userId. |
java.util.Vector<LyObject> |
isObjectVisible(LyObject sentObject,
LySession senderSession)
Checks whether an object is visible by all the users of the conversation. |
void |
removeSession(LySession session)
Remove session. |
void |
sendMessage(java.lang.String inputValue,
LySession senderSession,
boolean serverMessage,
boolean key)
Send message to all users in conversation. |
void |
sendObject(LyObject sentObject,
LySession senderSession)
Sends an object to all users in conversation. |
void |
setSessions(java.util.Map<java.lang.String,LySession> sessionList)
Set session list. |
void |
setTabId(java.lang.String tabId)
|
void |
updateActorLabels()
Update actors labels for each users in conversation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LyConversation()
Method Detail |
---|
public java.lang.String getTabId()
public void setTabId(java.lang.String tabId)
public void addSession(LySession session, LyAreaController controller)
session
- The session to addpublic void removeSession(LySession session)
session
- session to remove.public LyAreaController getController(java.lang.String sessionId)
sessionId
- sessionId.
public java.util.Map<java.lang.String,LyAreaController> getControllers()
public void setSessions(java.util.Map<java.lang.String,LySession> sessionList)
sessionList
- session Listpublic java.util.Map<java.lang.String,LySession> getSessions()
public LySession getTargetUserSession(java.lang.String sessionId)
userId
- The user id.
public void sendMessage(java.lang.String inputValue, LySession senderSession, boolean serverMessage, boolean key)
inputValue
- Messagesender
- Sender of messagepublic void sendObject(LyObject sentObject, LySession senderSession)
sentObject
- object sent to the other userssenderSession
- Sender of messagepublic java.util.Vector<LyObject> isObjectVisible(LyObject sentObject, LySession senderSession)
sentObject
- the object whose visibility is checked
public void updateActorLabels()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |