Package com.rs.seagull.emulator.api
Class Ibm3270StartupInformationLogger
java.lang.Object
com.rs.seagull.emulator.api.Ibm3270StartupInformationLogger
- All Implemented Interfaces:
 StartupInformationListener,StartupInformationListener.Ibm3270
public class Ibm3270StartupInformationLogger
extends Object
implements StartupInformationListener.Ibm3270
This class implements 3270 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
ConstructorsConstructorDescriptionIbm3270StartupInformationLogger(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) Create a new instance ofIbm3270StartupInformationLogger, which will log for to the providedLoggerwith the providedLevel. - 
Method Summary
Modifier and TypeMethodDescriptionvoidbindImageChanged(Boolean oldBindImage, Boolean newBindImage) The flag, to indicate that the server is allowed to send the SNA Bind image and Unbind image notification, changed.voidcontentionResolutionChanged(Boolean oldContentionResolution, Boolean newContentionResolution) The flag, to indicate that both the client and the server are able to handle the SDI, KRI and Signal header flags and the BID data type as defined in 'draft-ietf-tn3270e-extensions-01', changed.voiddeviceNameChanged(String oldDeviceName, String newDeviceName) The negotiated Device Name, as returned by the host with a CONNECT command, changed.voiddeviceTypeChanged(String oldDeviceType, String newDeviceType) The negotiated Device Type, as returned by the host, changed.protected voidLog the provided text.voiderrorCodeChanged(com.seagullsw.common.emulator.physical.emul3270.telnet2.Telnet3270EnhancedOption.ErrorEnum oldErrorEnum, com.seagullsw.common.emulator.physical.emul3270.telnet2.Telnet3270EnhancedOption.ErrorEnum newErrorEnum) The Error Code, as returned by the host with a REJECT command, changed.voidresponsesChanged(Boolean oldResponses, Boolean newResponses) The flag, to indicate that the server provides support for positive and negative response handling, changed.voidsnaSenseChanged(Boolean oldSnaSense, Boolean newSnaSense) The flag, to indicate that the server is committed to accepting SNA-SENSE-CODE responses to 3270-DATA, SCS-DATA (LU1), BID and FMH-DATA data type messages, changed.voidsysReqChanged(Boolean oldSysReq, Boolean newSysReq) The flag, to indicate that allows the client and server to emulate some (or all, depending on the server) of the functions of the SYSREQ key in an SNA environment, changed. 
- 
Constructor Details
- 
Ibm3270StartupInformationLogger
public Ibm3270StartupInformationLogger(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) Create a new instance ofIbm3270StartupInformationLogger, which will log for to the providedLoggerwith the providedLevel.- Parameters:
 logger- the providedLoggerlevel- the providedLevel
 
 - 
 - 
Method Details
- 
deviceTypeChanged
Description copied from interface:StartupInformationListener.Ibm3270The negotiated Device Type, as returned by the host, changed. Can benull.- Specified by:
 deviceTypeChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldDeviceType- the old negotiated Device Type ornullnewDeviceType- the new negotiated Device Type ornull
 - 
deviceNameChanged
Description copied from interface:StartupInformationListener.Ibm3270The negotiated Device Name, as returned by the host with a CONNECT command, changed. Can benull.- Specified by:
 deviceNameChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldDeviceName- the old negotiated Device Name ornullnewDeviceName- the new negotiated Device Name ornull
 - 
errorCodeChanged
public void errorCodeChanged(com.seagullsw.common.emulator.physical.emul3270.telnet2.Telnet3270EnhancedOption.ErrorEnum oldErrorEnum, com.seagullsw.common.emulator.physical.emul3270.telnet2.Telnet3270EnhancedOption.ErrorEnum newErrorEnum) Description copied from interface:StartupInformationListener.Ibm3270The Error Code, as returned by the host with a REJECT command, changed. Can benull.- Specified by:
 errorCodeChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldErrorEnum- the old negotiated Error Code ornullnewErrorEnum- the new negotiated Error Code ornull
 - 
bindImageChanged
Description copied from interface:StartupInformationListener.Ibm3270The flag, to indicate that the server is allowed to send the SNA Bind image and Unbind image notification, changed. Can benull.- Specified by:
 bindImageChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldBindImage- the old flag to indicate that the server is allowed to send the SNA Bind image and Unbind image notification ornullnewBindImage- the new flag to indicate that the server is allowed to send the SNA Bind image and Unbind image notification ornull
 - 
contentionResolutionChanged
public void contentionResolutionChanged(Boolean oldContentionResolution, Boolean newContentionResolution) Description copied from interface:StartupInformationListener.Ibm3270The flag, to indicate that both the client and the server are able to handle the SDI, KRI and Signal header flags and the BID data type as defined in 'draft-ietf-tn3270e-extensions-01', changed. Can benull.- Specified by:
 contentionResolutionChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldContentionResolution- the old flag to indicate that both the client and the server are able to handle the SDI, KRI and Signal header flags and the BID data type as defined in 'draft-ietf-tn3270e-extensions-01' ornullnewContentionResolution- the new flag to indicate that both the client and the server are able to handle the SDI, KRI and Signal header flags and the BID data type as defined in 'draft-ietf-tn3270e-extensions-01' ornull
 - 
responsesChanged
Description copied from interface:StartupInformationListener.Ibm3270The flag, to indicate that the server provides support for positive and negative response handling, changed. Allows the server to reflect to the client any and all definite, exception, and no response requests sent by the host application. Can benull.- Specified by:
 responsesChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldResponses- the old flag to indicate that the server provides support for positive and negative response handling ornullnewResponses- the new flag to indicate that the server provides support for positive and negative response handling ornull
 - 
snaSenseChanged
Description copied from interface:StartupInformationListener.Ibm3270The flag, to indicate that the server is committed to accepting SNA-SENSE-CODE responses to 3270-DATA, SCS-DATA (LU1), BID and FMH-DATA data type messages, changed. Can benull.- Specified by:
 snaSenseChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldSnaSense- the old flag to indicate that the server is committed to accepting SNA-SENSE-CODE responses to 3270-DATA, SCS-DATA (LU1), BID andChanged(FMH-DATA data type messages ornullnewSnaSense- the new flag to indicate that the server is committed to accepting SNA-SENSE-CODE responses to 3270-DATA, SCS-DATA (LU1), BID andChanged(FMH-DATA data type messages ornull
 - 
sysReqChanged
Description copied from interface:StartupInformationListener.Ibm3270The flag, to indicate that allows the client and server to emulate some (or all, depending on the server) of the functions of the SYSREQ key in an SNA environment, changed. Can benull.- Specified by:
 sysReqChangedin interfaceStartupInformationListener.Ibm3270- Parameters:
 oldSysReq- the old flag to indicate that allows the client and server to emulate some (or all, depending on the server) of the functions of the SYSREQ key in an SNA environment ornullnewSysReq- the new flag to indicate that allows the client and server to emulate some (or all, depending on the server) of the functions of the SYSREQ key in an SNA environment ornull
 - 
doLog
Log the provided text.- Parameters:
 text- the provided text
 
 -