public interface ChatFilter
| Modifier and Type | Method and Description |
|---|---|
String |
filter(String msg,
Name otherUser,
boolean outgoing)
Filter a chat message.
|
String filter(String msg, Name otherUser, boolean outgoing)
msg - the message text to be filtered.otherUser - an optional argument that represents the target or the speaker, depending
on 'outgoing', and can be considered in filtering if it is provided.outgoing - true if the message is going out to the server.Copyright © 2015. All rights reserved.