|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.electrotank.electroserver4.extensions.api.value.UserPublicMessageContext
public class UserPublicMessageContext
Contains the context for a userPublicMessage event.
RoomUserEvents.userSendPublicMessage| Constructor Summary | |
|---|---|
UserPublicMessageContext(String userName,
String message,
EsObjectRO esObject)
Creates a new instance of UserPublicMessageContext |
|
| Method Summary | |
|---|---|
EsObjectRO |
getEsObject()
Gets a read-only copy of the optional EsObject broadcast. |
String |
getMessage()
Gets the message broadcast. |
EsObject |
getResponseParameters()
Gets the response parameters for the broadcast message. |
String |
getUserName()
Gets the name of the user who broadcast the message. |
void |
setEsObject(EsObjectRO esObject)
Sets the optional EsObject broadcast. |
void |
setMessage(String message)
Sets the message broadcast. |
void |
setResponseParameters(EsObject responseParameters)
Sets the response parameters for the broadcast message. |
void |
setUserName(String userName)
Sets the name of the user who broadcast the message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserPublicMessageContext(String userName,
String message,
EsObjectRO esObject)
userName - name of the user sending the public messagemessage - message sentesObject - optional EsObject that could contain other information
to be broadcast, such as an audio clip or animation.| Method Detail |
|---|
public EsObjectRO getEsObject()
public void setEsObject(EsObjectRO esObject)
esObject - optional object to be broadcastpublic String getMessage()
public void setMessage(String message)
message - message broadcastpublic EsObject getResponseParameters()
public void setResponseParameters(EsObject responseParameters)
responseParameters - response parameters for the messagepublic String getUserName()
public void setUserName(String userName)
userName - name of the user
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||