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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rs.seagull.emulator.api.StartupInformationListener
StartupInformationListener.Ibm3270, StartupInformationListener.Ibm5250 -
Constructor Summary
ConstructorsConstructorDescriptionIbm5250StartupInformationLogger(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) Create a new instance ofIbm5250StartupInformationLogger, which will log for to the providedLoggerwith the providedLevel. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidLog the provided text.voiderrorCodeChanged(String oldErrorCode, String newErrorCode) The Start-Up Response Record Error Code, changed.voidjobNameChanged(String oldJobName, String newJobName) The Start-Up Response Record Job Name, changed.voidobjectNameChanged(String oldObjectName, String newObjectName) The Start-Up Response Record Object Name, changed.voidresponseCodeAutoSignonChanged(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.voidresponseCodeAutoSignonKerberosChanged(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.voidresponseCodeChanged(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.voidresponseCodeTextChanged(String oldResponseCodeText, String newResponseCodeText) The Start-Up Response Record success or error response code, as returned by the host, as original string, changed.voidsystemNameChanged(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 providedLoggerwith the providedLevel.- Parameters:
logger- the providedLoggerlevel- the providedLevel
-
-
Method Details
-
responseCodeTextChanged
Description copied from interface:StartupInformationListener.Ibm5250The Start-Up Response Record success or error response code, as returned by the host, as original string, changed. Can benull.- Specified by:
responseCodeTextChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldResponseCodeText- the old Start-Up Response Record success or error response code ornullnewResponseCodeText- 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.Ibm5250The Start-Up Response Record success or error response code, as returned by the host, mapped to an enum, changed. Can benullif the returned response code is empty, or is covered by theTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnumorTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum.- Specified by:
responseCodeChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldResponseCode- the old Start-Up Response Record success or error response code ornullnewResponseCode- 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.Ibm5250The 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 benullif the returned response code is empty, or is covered by theTelnetOptionNEW_ENVIR.StartupResponseCodeEnumorTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonKerberosEnum.- Specified by:
responseCodeAutoSignonChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldResponseCodeAutoSignon- the old Start-Up Response Record error response codes ornullnewResponseCodeAutoSignon- 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.Ibm5250The 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 benullif the returned response code is empty, or is covered by theTelnetOptionNEW_ENVIR.StartupResponseCodeEnumorTelnetOptionNEW_ENVIR.StartupResponseCodeAutoSignonEnum.- Specified by:
responseCodeAutoSignonKerberosChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldResponseCodeAutoSignonKerberos- the old Start-Up Response Record error response codes ornullnewResponseCodeAutoSignonKerberos- the new Start-Up Response Record error response codes ornull
-
systemNameChanged
Description copied from interface:StartupInformationListener.Ibm5250The Start-Up Response Record System Name, changed. Can benull.- Specified by:
systemNameChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldSystemName- the old Start-Up Response Record System Name ornullnewSystemName- the new Start-Up Response Record System Name ornull
-
objectNameChanged
Description copied from interface:StartupInformationListener.Ibm5250The Start-Up Response Record Object Name, changed. Can benull.- Specified by:
objectNameChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldObjectName- the old Start-Up Response Record Object Name ornullnewObjectName- the new Start-Up Response Record Object Name ornull
-
jobNameChanged
Description copied from interface:StartupInformationListener.Ibm5250The Start-Up Response Record Job Name, changed. Can benull.- Specified by:
jobNameChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldJobName- the old Start-Up Response Record Job Name ornullnewJobName- the new Start-Up Response Record Job Name ornull
-
errorCodeChanged
Description copied from interface:StartupInformationListener.Ibm5250The Start-Up Response Record Error Code, changed. Can benull.- Specified by:
errorCodeChangedin interfaceStartupInformationListener.Ibm5250- Parameters:
oldErrorCode- the old Start-Up Response Record Error Code ornullnewErrorCode- the new Start-Up Response Record Error Code ornull
-
doLog
Log the provided text.- Parameters:
text- the provided text
-