IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.samples.business.sna.lu0.host
Class DummyLu0SnaSessionConfigurationProperties

java.lang.Object
  extended bycom.ibm.btt.samples.business.sna.lu0.host.DummyLu0SnaSessionConfigurationProperties
All Implemented Interfaces:
java.lang.Cloneable, DummyLu0SnaSessionConstants, java.io.Serializable

public class DummyLu0SnaSessionConfigurationProperties
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, DummyLu0SnaSessionConstants

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ibm.btt.samples.business.sna.lu0.host.DummyLu0SnaSessionConstants
BETWEEN_BRACKETS, BID_RECEIVED, CLOSED, CLOSING, DATA, DATASENT, DEFAULT_CODEPAGE, DEFAULT_CODESET, DISCARDING, ERROR, ESTABLISHING, IN_BRACKETS, LISTEN_THREAD, LU0_WRAPPER_DLL, LUA_ALTERNATE_CODE_NOT_SUPPORT, LUA_API_MODE_CHANGE, LUA_BAD_DATA_PTR, LUA_BAD_SESSION_ID, LUA_BB_NOT_ALLOWED, LUA_BB_REJECT_NO_RTR, LUA_BB_REJECT_RTR, LUA_BID_ALREADY_ENABLED, LUA_BID_VERB_SEG_ERROR, LUA_BIND_FM_PROFILE_ERROR, LUA_BIND_LU_TYPE_ERROR, LUA_BIND_TS_PROFILE_ERROR, LUA_BRACKET, LUA_BRACKET_RACE_ERROR, LUA_BRACKETS_NOT_SUPPORTED, LUA_CANCEL_COMMAND_RECEIVED, LUA_CANCELLED, LUA_CATEGORY_NOT_SUPPORTED, LUA_CD_NOT_ALLOWED, LUA_CD_NOT_SUPPORTED, LUA_CHAINING_ERROR, LUA_CHAINING_NOT_SUPPORTED, LUA_CHASE_RESPONSE_REQUIRED, LUA_CLOSE_PENDING, LUA_COBOL_NOT_SUPPORTED, LUA_COMM_SUBSYSTEM_ABENDED, LUA_COMM_SUBSYSTEM_NOT_LOADED, LUA_COMMAND_COUNT_ERROR, LUA_CRV_ROUTINE_REQUIRED, LUA_CRYPTOGRAPHY_INOPERATIVE, LUA_DATA_LENGTH_ERROR, LUA_DATA_SEG_LENGTH_ERROR, LUA_DATA_TRAFFIC_NOT_RESET, LUA_DATA_TRAFFIC_QUIESCED, LUA_DATA_TRAFFIC_RESET, LUA_DATA_TRUNCATED, LUA_DEFINITE_RSP_NOT_ALLOWED, LUA_DIRECTION, LUA_DUPLICATE_READ_FLOW, LUA_DUPLICATE_RUI_INIT, LUA_DUPLICATE_RUI_REINIT, LUA_DUPLICATE_WRITE_FLOW, LUA_EB_NOT_ALLOWED, LUA_ENCR_DECR_LOAD_ERROR, LUA_ENCR_DECR_PROC_ERROR, LUA_ERP_SYNC_EVENT_ERROR, LUA_EXCEPTION_RSP_NOT_ALLOWED, LUA_EXR_SENSE_INCORRECT, LUA_FM_FUNCTION_NOT_SUPPORTED, LUA_FUNCTION_NOT_SUPPORTED, LUA_HDX_BRACKET_STATE_ERROR, LUA_IMMEDIATE_REQ_MODE_ERROR, LUA_IN_PROGRESS, LUA_INCORRECT_DR1I_DR2I_ERI, LUA_INCORRECT_REQUEST_CODE, LUA_INCORRECT_RU_CATEGORY, LUA_INCORRECT_SEQUENCE_NUMBER, LUA_INCORRECT_SPEC_OF_SDI_RTI, LUA_INCORRECT_USE_OF_EDI, LUA_INCORRECT_USE_OF_FI, LUA_INCORRECT_USE_OF_PDI, LUA_INCORRECT_USE_OF_QRI, LUA_INIT_COMPLETE, LUA_INSUFFICIENT_RESOURCES, LUA_INV_ADPT_NUM, LUA_INV_NAU_ADDR, LUA_INVALID_ADAPTER, LUA_INVALID_FLOW, LUA_INVALID_FORMAT, LUA_INVALID_LUNAME, LUA_INVALID_LUNUMBER, LUA_INVALID_MESSAGE_TYPE, LUA_INVALID_OPEN_DATA, LUA_INVALID_OPEN_INIT_TYPE, LUA_INVALID_OPEN_ROUTINE_TYPE, LUA_INVALID_PARAMETER, LUA_INVALID_PARAMETER_FLAGS, LUA_INVALID_POST_HANDLE, LUA_INVALID_PROCESS, LUA_INVALID_PUNAME, LUA_INVALID_SC_OR_NC_RH, LUA_INVALID_SESSION_PARAMETERS, LUA_INVALID_SESSION_TYPE, LUA_INVALID_SLI_ENCR_OPTION, LUA_INVALID_VERB, LUA_INVALID_VERB_SEGMENT, LUA_LINK_NOT_STARTED, LUA_LINK_NOT_STARTED_RETRY, LUA_LU_COMPONENT_DISCONNECTED, LUA_LU_INOPERATIVE, LUA_MAX_NUMBER_OF_SENDS, LUA_MESSAGE_TYPE_BID, LUA_MESSAGE_TYPE_BIND, LUA_MESSAGE_TYPE_BIS, LUA_MESSAGE_TYPE_CANCEL, LUA_MESSAGE_TYPE_CHASE, LUA_MESSAGE_TYPE_CLEAR, LUA_MESSAGE_TYPE_CRV, LUA_MESSAGE_TYPE_LU_DATA, LUA_MESSAGE_TYPE_LUSTAT_LU, LUA_MESSAGE_TYPE_LUSTAT_SSCP, LUA_MESSAGE_TYPE_PASSTHRU, LUA_MESSAGE_TYPE_QC, LUA_MESSAGE_TYPE_QEC, LUA_MESSAGE_TYPE_RELQ, LUA_MESSAGE_TYPE_RQR, LUA_MESSAGE_TYPE_RSP, LUA_MESSAGE_TYPE_RTR, LUA_MESSAGE_TYPE_SBI, LUA_MESSAGE_TYPE_SDT, LUA_MESSAGE_TYPE_SHUTD, LUA_MESSAGE_TYPE_SIGNAL, LUA_MESSAGE_TYPE_SSCP_DATA, LUA_MESSAGE_TYPE_STSN, LUA_MESSAGE_TYPE_UNBIND, LUA_MODE_INCONSISTENCY, LUA_MULTIPLE_WRITE_FLOWS, LUA_NAU_INOPERATIVE, LUA_NEG_NOTIFY_RSP, LUA_NEG_RSP_FROM_BIND_ROUTINE, LUA_NEG_RSP_FROM_CRV_ROUTINE, LUA_NEG_RSP_FROM_SDT_ROUTINE, LUA_NEG_RSP_FROM_STSN_ROUTINE, LUA_NEGATIVE_RSP, LUA_NEGATIVE_RSP_CHASE, LUA_NEGATIVE_RSP_RSHUTD, LUA_NEGATIVE_RSP_SHUTC, LUA_NEGOTIABLE_BIND_ERROR, LUA_NO_BEGIN_BRACKET, LUA_NO_DATA, LUA_NO_PREVIOUS_BID_ENABLED, LUA_NO_READ_TO_PURGE, LUA_NO_RECEIVE_TO_PURGE, LUA_NO_RESPONSE_NOT_ALLOWED, LUA_NO_RUI_SESSION, LUA_NO_SESSION, LUA_NO_SLI_SESSION, LUA_NON_UNIQ_ID, LUA_NON_UNIQ_NAU_AD, LUA_NOT_ACTIVE, LUA_NOT_READY, LUA_OK, LUA_PACING_NOT_SUPPORTED, LUA_PARAMETER_CHECK, LUA_PROCEDURE_ERROR, LUA_PURGED, LUA_QUEUED_RESPONSE_ERROR, LUA_READY, LUA_REC_CORR_TABLE_FULL, LUA_RECEIVE_ON_FLOW_PENDING, LUA_RECEIVED_UNBIND, LUA_RECEIVED_UNBIND_HOLD, LUA_RECEIVED_UNBIND_NORMAL, LUA_RECEIVER_IN_TRANSMIT_MODE, LUA_REINIT_INVALID, LUA_REQ_RESOURCES_NOT_AVAIL, LUA_REQUEST_NOT_EXECUTABLE, LUA_REQUIRED_FIELD_MISSING, LUA_RESERVED_FIELD_NOT_ZERO, LUA_RESOURCE_NOT_AVAILABLE, LUA_RESPONSE_ALREADY_SENT, LUA_RESPONSE_OUT_OF_ORDER, LUA_RH_DFC, LUA_RH_FMD, LUA_RH_NC, LUA_RH_SC, LUA_RSP_BEFORE_SENDING_REQ, LUA_RSP_CORRELATION_ERROR, LUA_RSP_PROTOCOL_ERROR, LUA_RU_DATA_ERROR, LUA_RU_LENGTH_ERROR, LUA_RUI_LOGIC_ERROR, LUA_RUI_WRITE_FAILURE, LUA_SC_PROTOCOL_VIOLATION, LUA_SEC_RC_OK, LUA_SEND_CORR_TABLE_FULL, LUA_SEND_ON_FLOW_PENDING, LUA_SESSION_ALREADY_OPEN, LUA_SESSION_END_REQUESTED, LUA_SESSION_FAILURE, LUA_SESSION_LIMIT_EXCEEDED, LUA_SESSION_SERVICE_PATH_ERROR, LUA_SLI_BID_PENDING, LUA_SLI_LOGIC_ERROR, LUA_SLI_PURGE_PENDING, LUA_SLU_SESSION_LIMIT_EXCEEDED, LUA_SSCP_LU_SESSION_NOT_ACTIVE, LUA_SSCP_PLU_SESS_NOT_ACTIVE, LUA_SSCP_SLU_SESS_INACT, LUA_STACK_TOO_SMALL, LUA_STATE_CHECK, LUA_STATUS, LUA_STSN_ROUTINE_REQUIRED, LUA_SYNC_EVENT_RESPONSE, LUA_TERMINATED, LUA_UNAUTHORIZED_ACCESS, LUA_UNEXPECTED_DOS_ERROR, LUA_UNEXPECTED_SNA_SEQUENCE, LUA_UNIT_OF_WORK_ABORTED, LUA_UNSUCCESSFUL, LUA_VERB_LENGTH_INVALID, LUA_VERB_RECORD_SPANS_SEGMENTS, MAXRU, MESSAGE, MESSAGE_CANCELLED, NEGATIVE_RESPONSE, NO_RECEIVING, NO_TIMEOUT, OPENED, PENDING_BETWEEN_BRACKETS, PENDING_IN_BRACKETS, PENDING_TERM_R, PENDING_TERM_S, POSITIVE_RESPONSE, RECEIVE, RECEIVERC, RESET, RUI_BID_BEGIN, RUI_BID_END_ERROR, RUI_BID_END_OK, RUI_INIT_BEGIN, RUI_INIT_END_ERROR, RUI_INIT_END_OK, RUI_READ_BEGIN, RUI_READ_END_ERROR, RUI_READ_END_OK, RUI_TERM_BEGIN, RUI_TERM_END_ERROR, RUI_TERM_END_OK, RUI_WRITE_BEGIN, RUI_WRITE_END_ERROR, RUI_WRITE_END_OK, SEND_BET_TR, SEND_IN_TR, SESSION_CLOSED, SESSION_DOWN, SESSION_ESTABLISHED, SESSION_NOT_ESTABLISHED, SOLICITED, TIMEOUT, UNSOLICITED, UNSOLICITED_MESSAGE, UNSOLICITED_MESSAGE_CANCELLED
 
Constructor Summary
DummyLu0SnaSessionConfigurationProperties()
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getAutomaticSessionEstablishment()
          Gets the automaticSessionEstablishment
 java.lang.Boolean getBIDManaged()
          Gets the bIDManaged
 java.lang.Boolean getChaining()
          Returns the value of the chaining protocol.
 java.lang.String getCodeSet()
          Gets the codeSet
 java.lang.Boolean getCompression()
          Gets the compression
 java.lang.Boolean getDefiniteResponseSolicited()
          Returns the value of the definite response protocol.
 java.lang.Boolean getEndBracketSent()
          Returns the value of the end bracket protocol.
 java.lang.Integer getEstablishSessionRetries()
          Gets the establishSessionRetries property value.
 java.lang.Integer getEstablishSessionTimeout()
          Gets the establishSessionTimeout
 java.lang.Boolean getFmhHeaderSent()
          Returns the value of the FMH sent protocol If the value is true, the message sent includes an FM Header.
 java.lang.Boolean getFmhIncluded()
          Returns the value of the FMH received protocol.
 java.lang.String getHostApplicationName()
          Returns the host application name to which the session is going to be established.
 java.lang.Integer getIDLength()
          Gets the ID Length.
 java.lang.String getLuName()
          Gets the luName
 java.lang.Boolean getManageResponses()
          Returns the value of the response protocol If the value is true, the application must send the sendNegativeResponse or sendPositiveResponse after receiving each chain.
 java.lang.Boolean getMessageToLu()
          Returns the _messageToLu.
 java.lang.String getModeName()
          Returns the mode name to which the session is going to be established.
 java.lang.String getTestFile()
          Gets the testFile name
 java.lang.Integer getTimeBetweenRetries()
          Gets the timeBetweenRetries property value.
 int hashCode()
           
 void setAutomaticSessionEstablishment(java.lang.Boolean automaticSessionEstablishment)
          Sets the automaticSessionEstablishment
 void setBIDManaged(java.lang.Boolean bIDManaged)
          Sets the bIDManaged
 void setChaining(java.lang.Boolean chaining)
          Sets the chaining protocol.
 void setCodeSet(java.lang.String codeSet)
          Sets the codeSet property (java.lang.String) value.
 void setCompression(java.lang.Boolean compression)
          Sets the compression
 void setDefiniteResponseSolicited(java.lang.Boolean definiteResponseSolicited)
          Sets the definite response protocol to: true:messages include the definite response identifier when possible false:messages do not include the definite response identifier(the default)
 void setEndBracketSent(java.lang.Boolean endBracketSent)
          Sets the end bracket protocol to : true:messages include the end bracket indicator or false:messages do not include the end bracket indicator (the default)
 void setEstablishSessionRetries(java.lang.Integer establishSessionRetries)
          Sets the establishSessionRetries
 void setEstablishSessionTimeout(java.lang.Integer establishSessionTimeout)
          Sets the establishSessionTimeout
 void setFmhHeaderSent(java.lang.Boolean fmhHeaderSent)
          Sets the FMH sent protocol to : true:sent messages include the FM header or false:sent messages do not include the FM header(the default)
 void setFmhIncluded(java.lang.Boolean fmhIncluded)
          Sets the FMH received protocol to : true:received messages include the FM header or false:received messages do not include the FM header(the default)
 void setHostApplicationName(java.lang.String hostApplicationName)
          Sets the hostApplicationName
 void setIDLength(java.lang.Integer idLength)
          Sets the ID Length
 void setLuName(java.lang.String luName)
          Sets the luName
 void setManageResponses(java.lang.Boolean manageResponses)
          Sets the response protocol to : true:the application is responsible for sending a response to each chained message received; Positive responses (using sendPositiveResponse) has to be sent after a complete chain has been received.
 void setMessageToLu(java.lang.Boolean messageToLu)
          Sets the _messageToLu.
 void setModeName(java.lang.String modeName)
          Sets the modeName
 void setTestFile(java.lang.String testFileName)
          Sets the testFile name
 void setTimeBetweenRetries(java.lang.Integer timeBetweenRetries)
          Sets the timeBetweenRetries
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyLu0SnaSessionConfigurationProperties

public DummyLu0SnaSessionConfigurationProperties()
Method Detail

getTestFile

public java.lang.String getTestFile()
Gets the testFile name

Returns:
Returns a String

setTestFile

public void setTestFile(java.lang.String testFileName)
Sets the testFile name

Parameters:
testFileName - The _testFile to set

getIDLength

public java.lang.Integer getIDLength()
Gets the ID Length. It is the Length of the request data to be used as argument to locate the reply.

Returns:
Returns the ID Length

setIDLength

public void setIDLength(java.lang.Integer idLength)
Sets the ID Length

Parameters:
idLength - The _IDLength to set

getLuName

public java.lang.String getLuName()
Gets the luName

Returns:
Returns a String

setLuName

public void setLuName(java.lang.String luName)
Sets the luName

Parameters:
luName - The luName to set

getHostApplicationName

public java.lang.String getHostApplicationName()
Returns the host application name to which the session is going to be established.

Returns:
The hostApplicationName property value.
See Also:
setHostApplicationName(java.lang.String)

setHostApplicationName

public void setHostApplicationName(java.lang.String hostApplicationName)
Sets the hostApplicationName

Parameters:
hostApplicationName - The hostApplicationName to set

getMessageToLu

public java.lang.Boolean getMessageToLu()
Returns the _messageToLu.

Returns:
Boolean

setMessageToLu

public void setMessageToLu(java.lang.Boolean messageToLu)
Sets the _messageToLu.

Parameters:
messageToLu - The _messageToLu to set

getChaining

public java.lang.Boolean getChaining()

Returns the value of the chaining protocol. If chaining is true, the messages received are complete chains. If chaining is false, the messages are received as they are sent by the host (FIC,MIC,LIC or OIC). The default value is false.

Returns:
The chaining property value.
See Also:
setChaining(java.lang.Boolean)

setChaining

public void setChaining(java.lang.Boolean chaining)

Sets the chaining protocol.

Parameters:
chaining - The new value for the property.
See Also:
getChaining()

getManageResponses

public java.lang.Boolean getManageResponses()

Returns the value of the response protocol If the value is true, the application must send the sendNegativeResponse or sendPositiveResponse after receiving each chain. If the value is false, sendPositiveResponse is sent internally if it is needed. The default value is false.

Returns:
The manageResponses property value.
See Also:
setManageResponses(java.lang.Boolean)

setManageResponses

public void setManageResponses(java.lang.Boolean manageResponses)

Sets the response protocol to :

Parameters:
manageResponses - The new value for the property.
See Also:
getManageResponses()

getFmhHeaderSent

public java.lang.Boolean getFmhHeaderSent()

Returns the value of the FMH sent protocol If the value is true, the message sent includes an FM Header. The default value is false.

Returns:
The fmhHeaderSent property value.
See Also:
setFmhHeaderSent(java.lang.Boolean)

setFmhHeaderSent

public void setFmhHeaderSent(java.lang.Boolean fmhHeaderSent)

Sets the FMH sent protocol to :

Parameters:
fmhHeaderSent - The new value for the property.
See Also:
getFmhHeaderSent()

getFmhIncluded

public java.lang.Boolean getFmhIncluded()

Returns the value of the FMH received protocol. If the value is true, the messages received with FMH preserve it. If the value is false, FMH is removed from the messages received. The default value is false.

Returns:
The fmhIncluded property value.
See Also:
setFmhIncluded(java.lang.Boolean)

setFmhIncluded

public void setFmhIncluded(java.lang.Boolean fmhIncluded)

Sets the FMH received protocol to :

Parameters:
fmhIncluded - The new value for the property.
See Also:
getFmhIncluded()

getEndBracketSent

public java.lang.Boolean getEndBracketSent()

Returns the value of the end bracket protocol. If the value is true, each message sent ends brackets. If the value is false, the messages sent do not have end brackets. The default value is false.

Returns:
The endBracketSent property value.
See Also:
setEndBracketSent(java.lang.Boolean)

setEndBracketSent

public void setEndBracketSent(java.lang.Boolean endBracketSent)

Sets the end bracket protocol to :

Parameters:
endBracketSent - The new value for the property.
See Also:
getEndBracketSent()

getEstablishSessionRetries

public java.lang.Integer getEstablishSessionRetries()
Gets the establishSessionRetries property value. If it is negative, it means that the session tries to establish itself forever, otherwise this property says how many times it establishs itself.

Returns:
The establishSessionRetries property value.
See Also:
setEstablishSessionRetries(java.lang.Integer)

setEstablishSessionRetries

public void setEstablishSessionRetries(java.lang.Integer establishSessionRetries)
Sets the establishSessionRetries

Parameters:
establishSessionRetries - The establishSessionRetries to set

getTimeBetweenRetries

public java.lang.Integer getTimeBetweenRetries()
Gets the timeBetweenRetries property value. It is the time between each unsuccessful attempt to establish a session.

Returns:
The timeBetweenRetries property value.
See Also:
setTimeBetweenRetries(java.lang.Integer)

setTimeBetweenRetries

public void setTimeBetweenRetries(java.lang.Integer timeBetweenRetries)
Sets the timeBetweenRetries

Parameters:
timeBetweenRetries - The timeBetweenRetries to set

getEstablishSessionTimeout

public java.lang.Integer getEstablishSessionTimeout()
Gets the establishSessionTimeout

Returns:
Returns a Integer

setEstablishSessionTimeout

public void setEstablishSessionTimeout(java.lang.Integer establishSessionTimeout)
Sets the establishSessionTimeout

Parameters:
establishSessionTimeout - The establishSessionTimeout to set

getDefiniteResponseSolicited

public java.lang.Boolean getDefiniteResponseSolicited()

Returns the value of the definite response protocol. If the value is true ,messages are sent with a Definite Response (if BIND allows it). If the value is false and if BIND specifies definite or exception, messages are sent with an exception response. The default value is false.

Returns:
The definiteResponseSolicited property value.
See Also:
setDefiniteResponseSolicited(java.lang.Boolean)

setDefiniteResponseSolicited

public void setDefiniteResponseSolicited(java.lang.Boolean definiteResponseSolicited)

Sets the definite response protocol to:

Parameters:
definiteResponseSolicited - The new value for the property.
See Also:
getDefiniteResponseSolicited()

getBIDManaged

public java.lang.Boolean getBIDManaged()
Gets the bIDManaged

Returns:
Returns a Boolean

setBIDManaged

public void setBIDManaged(java.lang.Boolean bIDManaged)
Sets the bIDManaged

Parameters:
bIDManaged - The bIDManaged to set

getCompression

public java.lang.Boolean getCompression()
Gets the compression

Returns:
Returns a Boolean

setCompression

public void setCompression(java.lang.Boolean compression)
Sets the compression

Parameters:
compression - The compression to set

getCodeSet

public java.lang.String getCodeSet()
Gets the codeSet

Returns:
Returns a String

setCodeSet

public void setCodeSet(java.lang.String codeSet)
                throws java.io.UnsupportedEncodingException
Sets the codeSet property (java.lang.String) value.

Parameters:
codeSet - The new value for the property.
Throws:
java.io.UnsupportedEncodingException
See Also:
getCodeSet()

getModeName

public java.lang.String getModeName()
Returns the mode name to which the session is going to be established.

Returns:
The modeName property value
See Also:
setModeName(java.lang.String)

setModeName

public void setModeName(java.lang.String modeName)
Sets the modeName

Parameters:
modeName - The modeName to set

clone

public java.lang.Object clone()

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)

getAutomaticSessionEstablishment

public java.lang.Boolean getAutomaticSessionEstablishment()
Gets the automaticSessionEstablishment

Returns:
Returns a Boolean

setAutomaticSessionEstablishment

public void setAutomaticSessionEstablishment(java.lang.Boolean automaticSessionEstablishment)
Sets the automaticSessionEstablishment

Parameters:
automaticSessionEstablishment - The automaticSessionEstablishment to set

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005