|
jPOS 1.6.1 API Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpos.iso.filter.StatefulFilter
public class StatefulFilter
Filter that maintains some fields of arriving messages in one direction and put that fields in the message going in the oposite direction that is the answer, based on a key formed by some fields.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jpos.iso.ISOFilter |
|---|
ISOFilter.VetoException |
| Constructor Summary | |
|---|---|
StatefulFilter()
Creates a new instance of StateFulFilter |
|
| Method Summary | |
|---|---|
ISOMsg |
filter(ISOChannel iSOChannel,
ISOMsg m,
LogEvent evt)
|
int |
getIgnoredField(int index)
Indexed getter for property ignoredFields. |
int[] |
getIgnoredFields()
Getter for property ignoredFields. |
int[] |
getKey()
Getter for property key. |
int |
getKey(int index)
Indexed getter for property key. |
java.lang.String |
getKeyPrefix()
Getter for property keyPrefix. |
int |
getMatchDirection()
Getter for property matchDirection. |
int |
getSavedField(int index)
Indexed getter for property savedFields. |
int[] |
getSavedFields()
Getter for property savedFields. |
long |
getTimeout()
Getter for property timeout. |
boolean |
isOverwriteOriginalFields()
Getter for property overwriteOriginalFields. |
boolean |
isVetoUnmatched()
Getter for property vetoUnmatched. |
void |
setConfiguration(Configuration cfg)
|
void |
setIgnoredField(int index,
int ignoredFields)
Indexed setter for property ignoredFields. |
void |
setIgnoredFields(int[] ignoredFields)
Setter for property ignoredFields. |
void |
setKey(int[] key)
Setter for property key. |
void |
setKey(int index,
int key)
Indexed setter for property key. |
void |
setKeyPrefix(java.lang.String keyPrefix)
Setter for property keyPrefix. |
void |
setMatchDirection(int matchDirection)
Setter for property matchDirection. |
void |
setOverwriteOriginalFields(boolean overwriteOriginalFields)
Setter for property overwriteOriginalFields. |
void |
setSavedField(int index,
int savedFields)
Indexed setter for property savedFields. |
void |
setSavedFields(int[] savedFields)
Setter for property savedFields. |
void |
setSpace(java.lang.String uri)
|
void |
setTimeout(long timeout)
Setter for property timeout. |
void |
setVetoUnmatched(boolean vetoUnmatched)
Setter for property vetoUnmatched. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatefulFilter()
| Method Detail |
|---|
public java.lang.String getKeyPrefix()
public void setKeyPrefix(java.lang.String keyPrefix)
keyPrefix - New value of property keyPrefix.
public void setConfiguration(Configuration cfg)
throws ConfigurationException
setConfiguration in interface Configurablecfg - Configuration object
ConfigurationExceptionpublic void setSpace(java.lang.String uri)
public ISOMsg filter(ISOChannel iSOChannel,
ISOMsg m,
LogEvent evt)
throws ISOFilter.VetoException
filter in interface ISOFilteriSOChannel - current ISOChannel instancem - ISOMsg to filterevt - LogEvent
ISOFilter.VetoExceptionpublic boolean isVetoUnmatched()
public void setVetoUnmatched(boolean vetoUnmatched)
vetoUnmatched - New value of property vetoUnmatched.public int getMatchDirection()
public void setMatchDirection(int matchDirection)
matchDirection - New value of property matchDirection.public int getIgnoredField(int index)
index - Index of the property.
index.public int[] getIgnoredFields()
public void setIgnoredField(int index,
int ignoredFields)
index - Index of the property.ignoredFields - New value of the property at index.public void setIgnoredFields(int[] ignoredFields)
ignoredFields - New value of property ignoredFields.public int getSavedField(int index)
index - Index of the property.
index.public int[] getSavedFields()
public void setSavedField(int index,
int savedFields)
index - Index of the property.savedFields - New value of the property at index.public void setSavedFields(int[] savedFields)
savedFields - New value of property savedFields.public int getKey(int index)
index - Index of the property.
index.public int[] getKey()
public void setKey(int index,
int key)
index - Index of the property.key - New value of the property at index.public void setKey(int[] key)
key - New value of property key.public long getTimeout()
public void setTimeout(long timeout)
timeout - New value of property timeout.public boolean isOverwriteOriginalFields()
public void setOverwriteOriginalFields(boolean overwriteOriginalFields)
overwriteOriginalFields - New value of property overwriteOriginalFields.
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||