|
|||||||||
| 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.AmplifierFilter
public class AmplifierFilter
Amplifies specials sent. One line sent will turn into two lines, a tetris into eight, etc... The multiplicating factor is set to 2 by default but can be changed by adding a factor parameter to the FilterConfig.
| Field Summary |
|---|
| Fields inherited from class net.jetrix.filter.MessageFilter |
|---|
config |
| Constructor Summary | |
|---|---|
AmplifierFilter()
|
|
| 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 |
init()
Called by the channel to indicate to a filter that the filter is being placed into service. |
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, 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 AmplifierFilter()
| Method Detail |
|---|
public void init()
MessageFilter
init in class MessageFilter
public 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 | ||||||||