|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.main.CmsBroadcast
public class CmsBroadcast
A single broadcast message, send from one OpenCms user to another.
To addess a broadcast to another user, it must be placed in the
broadcast queue of that user using for example
CmsSessionManager.sendBroadcast(CmsUser, String, CmsUser)
.
Constructor Summary | |
---|---|
CmsBroadcast(CmsUser sender,
java.lang.String message)
Creates a new broadcast, with the current system time set as send time. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the broadcast message content. |
long |
getSendTime()
Returns the time this broadcast was send. |
CmsUser |
getUser()
Returns the user that was the sender of this broadcast. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsBroadcast(CmsUser sender, java.lang.String message)
sender
- the sender of the broadcastmessage
- the message to sendMethod Detail |
---|
public java.lang.String getMessage()
public long getSendTime()
public CmsUser getUser()
It could be null
to signalize a system message.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |