com.threerings.crowd.chat.data
Class TellFeedbackMessage

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

public class TellFeedbackMessage
extends UserMessage

A feedback message to indicate that a tell succeeded.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
protected  boolean _failure
           
 
Fields inherited from class com.threerings.crowd.chat.data.UserMessage
mode, speaker
 
Fields inherited from class com.threerings.crowd.chat.data.ChatMessage
bundle, localtype, message, timestamp
 
Constructor Summary
TellFeedbackMessage(Name target, String message, boolean failure)
          A tell feedback message is only composed on the client.
 
Method Summary
 String getFormat()
          Get the appropriate message format for this message.
 boolean isFailure()
          Returns true if this is a failure feedback, false if it is successful tell feedback.
 
Methods inherited from class com.threerings.crowd.chat.data.UserMessage
create, getSpeakerDisplayName
 
Methods inherited from class com.threerings.crowd.chat.data.ChatMessage
setClientInfo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_failure

protected boolean _failure
Constructor Detail

TellFeedbackMessage

public TellFeedbackMessage(Name target,
                           String message,
                           boolean failure)
A tell feedback message is only composed on the client.

Method Detail

isFailure

public boolean isFailure()
Returns true if this is a failure feedback, false if it is successful tell feedback.


getFormat

public String getFormat()
Description copied from class: ChatMessage
Get the appropriate message format for this message.

Overrides:
getFormat in class UserMessage