Package com.rs.seagull.emulator.api
Class Ibm5250StartupInformationLogger
java.lang.Object
com.rs.seagull.emulator.api.Ibm5250StartupInformationLogger
- All Implemented Interfaces:
StartupInformationListener
,StartupInformationListener.Ibm5250
public class Ibm5250StartupInformationLogger
extends Object
implements StartupInformationListener.Ibm5250
This class implements 5250 StartupInformationListener, so it can log every change to the logging infrastructure.
- Version:
- $Id: CJL2CodeTemplates.xml,v 1.2 2011/02/16 16:13:58 MRomijn Exp $
- Author:
- mromijn
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rs.seagull.emulator.api.StartupInformationListener
StartupInformationListener.Ibm3270, StartupInformationListener.Ibm5250
-
Constructor Summary
ConstructorDescriptionIbm5250StartupInformationLogger
(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) Create a new instance ofIbm5250StartupInformationLogger
, which will log for to the providedLogger
with the providedLevel
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Log the provided text.void
errorCodeChanged
(String oldErrorCode, String newErrorCode) The Start-Up Response Record Error Code, changed.void
jobNameChanged
(String oldJobName, String newJobName) The Start-Up Response Record Job Name, changed.void
objectNameChanged
(String oldObjectName, String newObjectName) The Start-Up Response Record Object Name, changed.void
responseCodeAutoSignonChanged
(com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnum oldResponseCodeAutoSignon, com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnum newResponseCodeAutoSignon) The Start-Up Response Record error response codes for non-Kerberos Services Token automatic sign-on, as returned by the host, mapped to an enum, changed.void
responseCodeAutoSignonKerberosChanged
(com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum oldResponseCodeAutoSignonKerberos, com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum newResponseCodeAutoSignonKerberos) The Start-Up Response Record error response codes for Kerberos Services Token automatic sign-on support, as returned by the host, mapped to an enum, changed.void
responseCodeChanged
(com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeEnum oldResponseCode, com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeEnum newResponseCode) The Start-Up Response Record success or error response code, as returned by the host, mapped to an enum, changed.void
responseCodeTextChanged
(String oldResponseCodeText, String newResponseCodeText) The Start-Up Response Record success or error response code, as returned by the host, as original string, changed.void
systemNameChanged
(String oldSystemName, String newSystemName) The Start-Up Response Record System Name, changed.
-
Constructor Details
-
Ibm5250StartupInformationLogger
public Ibm5250StartupInformationLogger(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) Create a new instance ofIbm5250StartupInformationLogger
, which will log for to the providedLogger
with the providedLevel
.- Parameters:
logger
- the providedLogger
level
- the providedLevel
-
-
Method Details
-
responseCodeTextChanged
Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record success or error response code, as returned by the host, as original string, changed. Can benull
.- Specified by:
responseCodeTextChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldResponseCodeText
- the old Start-Up Response Record success or error response code ornull
newResponseCodeText
- the new Start-Up Response Record success or error response code ornull
-
responseCodeChanged
public void responseCodeChanged(com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeEnum oldResponseCode, com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeEnum newResponseCode) Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record success or error response code, as returned by the host, mapped to an enum, changed. Can benull
if the returned response code is empty, or is covered by theTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnum
orTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum
.- Specified by:
responseCodeChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldResponseCode
- the old Start-Up Response Record success or error response code ornull
newResponseCode
- the new Start-Up Response Record success or error response code ornull
-
responseCodeAutoSignonChanged
public void responseCodeAutoSignonChanged(com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnum oldResponseCodeAutoSignon, com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnum newResponseCodeAutoSignon) Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record error response codes for non-Kerberos Services Token automatic sign-on, as returned by the host, mapped to an enum, changed. Can benull
if the returned response code is empty, or is covered by theTelnetOptionNEW_ENVIR.StartupResponseCodeEnum
orTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum
.- Specified by:
responseCodeAutoSignonChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldResponseCodeAutoSignon
- the old Start-Up Response Record error response codes ornull
newResponseCodeAutoSignon
- the new Start-Up Response Record error response codes ornull
-
responseCodeAutoSignonKerberosChanged
public void responseCodeAutoSignonKerberosChanged(com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum oldResponseCodeAutoSignonKerberos, com.seagullsw.common.emulator.physical.base.telnet2.TelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum newResponseCodeAutoSignonKerberos) Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record error response codes for Kerberos Services Token automatic sign-on support, as returned by the host, mapped to an enum, changed. Can benull
if the returned response code is empty, or is covered by theTelnetOptionNEW_ENVIR.StartupResponseCodeEnum
orTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnum
.- Specified by:
responseCodeAutoSignonKerberosChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldResponseCodeAutoSignonKerberos
- the old Start-Up Response Record error response codes ornull
newResponseCodeAutoSignonKerberos
- the new Start-Up Response Record error response codes ornull
-
systemNameChanged
Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record System Name, changed. Can benull
.- Specified by:
systemNameChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldSystemName
- the old Start-Up Response Record System Name ornull
newSystemName
- the new Start-Up Response Record System Name ornull
-
objectNameChanged
Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record Object Name, changed. Can benull
.- Specified by:
objectNameChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldObjectName
- the old Start-Up Response Record Object Name ornull
newObjectName
- the new Start-Up Response Record Object Name ornull
-
jobNameChanged
Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record Job Name, changed. Can benull
.- Specified by:
jobNameChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldJobName
- the old Start-Up Response Record Job Name ornull
newJobName
- the new Start-Up Response Record Job Name ornull
-
errorCodeChanged
Description copied from interface:StartupInformationListener.Ibm5250
The Start-Up Response Record Error Code, changed. Can benull
.- Specified by:
errorCodeChanged
in interfaceStartupInformationListener.Ibm5250
- Parameters:
oldErrorCode
- the old Start-Up Response Record Error Code ornull
newErrorCode
- the new Start-Up Response Record Error Code ornull
-
doLog
Log the provided text.- Parameters:
text
- the provided text
-