jPOS 1.6.5 API Documentation

org.jpos.space
Class ISORequestListenerAdaptor

java.lang.Object
  extended by org.jpos.util.SimpleLogSource
      extended by org.jpos.space.ISORequestListenerAdaptor
All Implemented Interfaces:
Configurable, ISORequestListener, LogSource

public class ISORequestListenerAdaptor
extends SimpleLogSource
implements Configurable, ISORequestListener

Integrates legacy (pre 2.0) ISORequestListeners to the new Space based architecture

Version:
$Revision: 2776 $ $Date: 2009-09-18 18:53:31 -0700 (Fri, 18 Sep 2009) $
Author:
Alejandro Revilla

Nested Class Summary
 class ISORequestListenerAdaptor.Processor
           
 
Constructor Summary
ISORequestListenerAdaptor()
           
 
Method Summary
 boolean process(ISOSource source, ISOMsg m)
           
 void setConfiguration(Configuration cfg)
           
 
Methods inherited from class org.jpos.util.SimpleLogSource
error, error, getLogger, getRealm, info, info, setLogger, setRealm, warning, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISORequestListenerAdaptor

public ISORequestListenerAdaptor()
Method Detail

setConfiguration

public void setConfiguration(Configuration cfg)
                      throws ConfigurationException
Specified by:
setConfiguration in interface Configurable
Parameters:
cfg - Configuration object
Throws:
ConfigurationException

process

public boolean process(ISOSource source,
                       ISOMsg m)
Specified by:
process in interface ISORequestListener
Parameters:
source - source where you optionally can reply
m - the unmatched request
Returns:
true if request was handled by this listener

jPOS.org