Class ISOServer.Session

java.lang.Object
org.jpos.iso.ISOServer.Session
All Implemented Interfaces:
Runnable, LogSource
Enclosing class:
ISOServer

protected class ISOServer.Session extends Object implements Runnable, LogSource
Handles the ISO 8583 exchange for a single accepted server connection.
  • Constructor Details

    • Session

      protected Session(ServerChannel channel)
      Creates a Session for the given accepted channel.
      Parameters:
      channel - the accepted server channel
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • setLogger

      public void setLogger(Logger logger, String realm)
      Description copied from interface: LogSource
      Attaches a Logger and realm to this log source.
      Specified by:
      setLogger in interface LogSource
      Parameters:
      logger - the logger to use
      realm - the log realm (diagnostic label)
    • getRealm

      public String getRealm()
      Description copied from interface: LogSource
      Returns the log realm associated with this source.
      Specified by:
      getRealm in interface LogSource
      Returns:
      log realm
    • getLogger

      public Logger getLogger()
      Description copied from interface: LogSource
      Returns the Logger associated with this source.
      Specified by:
      getLogger in interface LogSource
      Returns:
      the Logger