jPOS 1.6.1 API Documentation

org.jpos.iso.filter
Class ThroughputControlFilter

java.lang.Object
  extended by org.jpos.iso.filter.ThroughputControlFilter
All Implemented Interfaces:
Configurable, ISOFilter

public class ThroughputControlFilter
extends java.lang.Object
implements ISOFilter, Configurable


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jpos.iso.ISOFilter
ISOFilter.VetoException
 
Constructor Summary
ThroughputControlFilter()
           
 
Method Summary
 ISOMsg filter(ISOChannel channel, ISOMsg m, LogEvent evt)
           
 void setConfiguration(Configuration cfg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThroughputControlFilter

public ThroughputControlFilter()
Method Detail

setConfiguration

public void setConfiguration(Configuration cfg)
Specified by:
setConfiguration in interface Configurable
Parameters:
cfg -
  • transactions
  • period (in millis)

filter

public ISOMsg filter(ISOChannel channel,
                     ISOMsg m,
                     LogEvent evt)
Specified by:
filter in interface ISOFilter
Parameters:
channel - current ISOChannel instance
m - ISOMsg to filter
evt - LogEvent
Returns:
an ISOMsg (possibly parameter m)

jPOS.org