com.threerings.crowd.chat.client
Class ChatDirector.FilterMessageOp
java.lang.Object
com.threerings.crowd.chat.client.ChatDirector.FilterMessageOp
- All Implemented Interfaces:
- ObserverList.ObserverOp<ChatFilter>
- Enclosing class:
- ChatDirector
protected static class ChatDirector.FilterMessageOp
- extends Object
- implements ObserverList.ObserverOp<ChatFilter>
An operation that checks with all chat filters to properly filter a message prior to sending
to the server or displaying.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_otherUser
protected Name _otherUser
_msg
protected String _msg
_out
protected boolean _out
ChatDirector.FilterMessageOp
protected ChatDirector.FilterMessageOp()
setMessage
public void setMessage(String msg,
Name otherUser,
boolean outgoing)
apply
public boolean apply(ChatFilter observer)
- Specified by:
apply in interface ObserverList.ObserverOp<ChatFilter>
getMessage
public String getMessage()