com.threerings.crowd.chat.data
Class UserSystemMessage

java.lang.Object
  extended by com.threerings.crowd.chat.data.ChatMessage
      extended by com.threerings.crowd.chat.data.SystemMessage
          extended by com.threerings.crowd.chat.data.UserSystemMessage
All Implemented Interfaces:
Streamable

public class UserSystemMessage
extends SystemMessage

A system message triggered by the activity of another user. If the user is muted we can suppress this message, unlike a normal system message.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 Name speaker
          The "speaker" of this message, the user that triggered that this message be sent to us.
 
Fields inherited from class com.threerings.crowd.chat.data.SystemMessage
ATTENTION, attentionLevel, FEEDBACK, INFO
 
Fields inherited from class com.threerings.crowd.chat.data.ChatMessage
bundle, localtype, message, timestamp
 
Constructor Summary
UserSystemMessage(Name sender, String message, String bundle, byte attentionLevel)
          Construct a UserSystemMessage.
 
Method Summary
static UserSystemMessage create(Name sender, String message, String bundle)
          Construct a INFO-level UserSystemMessage.
 
Methods inherited from class com.threerings.crowd.chat.data.ChatMessage
getFormat, setClientInfo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

speaker

public Name speaker
The "speaker" of this message, the user that triggered that this message be sent to us.

Constructor Detail

UserSystemMessage

public UserSystemMessage(Name sender,
                         String message,
                         String bundle,
                         byte attentionLevel)
Construct a UserSystemMessage.

Method Detail

create

public static UserSystemMessage create(Name sender,
                                       String message,
                                       String bundle)
Construct a INFO-level UserSystemMessage.