|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.jetrix.filter.MessageFilter
net.jetrix.filter.PingFilter
public class PingFilter
Display the ping of the player if a team message is processed and the player property command.ping is set to true. This filter also intercepts in game messages containing only "t" and send back a "PONG" message to the player.
| Field Summary |
|---|
| Fields inherited from class net.jetrix.filter.MessageFilter |
|---|
config |
| Constructor Summary | |
|---|---|
PingFilter()
|
|
| Method Summary | |
|---|---|
String |
getAuthor()
Returns the author of this filter. |
String |
getDescription()
Returns a short description of this filter. |
String |
getName()
Returns the name of this filter. |
String |
getVersion()
Returns the version of this filter |
void |
process(Message m,
List<Message> out)
Process a message and outputs messages to the specified List. |
| Methods inherited from class net.jetrix.filter.MessageFilter |
|---|
destroy, getChannel, getConfig, getProperty, init, isShared, setChannel, setConfig, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingFilter()
| Method Detail |
|---|
public final void process(Message m,
List<Message> out)
MessageFilter
process in class MessageFilterpublic String getName()
MessageFilter
getName in class MessageFilterpublic String getDescription()
MessageFilter
getDescription in class MessageFilterpublic String getVersion()
MessageFilter
getVersion in class MessageFilterpublic String getAuthor()
MessageFilter
getAuthor in class MessageFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||