com.threerings.crowd.chat.data
Class SystemMessage

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

public class SystemMessage
extends ChatMessage

A ChatMessage that represents a message that came from the server and did not result from direct user action.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
static byte ATTENTION
          Attention level constant to indicate that some action is required.
 byte attentionLevel
          The attention level of this message.
static byte FEEDBACK
          Attention level constant to indicate that this message is the result of a user action.
static byte INFO
          Attention level constant to indicate that this message is merely providing the user with information.
 
Fields inherited from class com.threerings.crowd.chat.data.ChatMessage
bundle, localtype, message, timestamp
 
Constructor Summary
SystemMessage(String message, String bundle, byte attentionLevel)
          Construct a SystemMessage.
 
Method Summary
 
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

INFO

public static final byte INFO
Attention level constant to indicate that this message is merely providing the user with information.

See Also:
Constant Field Values

FEEDBACK

public static final byte FEEDBACK
Attention level constant to indicate that this message is the result of a user action.

See Also:
Constant Field Values

ATTENTION

public static final byte ATTENTION
Attention level constant to indicate that some action is required.

See Also:
Constant Field Values

attentionLevel

public byte attentionLevel
The attention level of this message.

Constructor Detail

SystemMessage

public SystemMessage(String message,
                     String bundle,
                     byte attentionLevel)
Construct a SystemMessage.