com.ibm.dse.services.comms
Interface Lu0SnaSessionService

All Known Implementing Classes:
Lu0SnaSession

public interface Lu0SnaSessionService
extends CommonCommunicationsService

Interface for Lu0SnaSession.


Field Summary
static java.lang.String BETWEEN_BRACKETS
           
static java.lang.String BID_RECEIVED
           
static java.lang.String CLOSING
           
static java.lang.String DEFAULT_CODESET
           
static java.lang.String DISCARDING
           
static java.lang.String ESTABLISHING
           
static java.lang.String IN_BRACKETS
           
static java.lang.String LISTEN_THREAD
           
static java.lang.String LU0_WRAPPER_DLL
           
static int LUA_ALTERNATE_CODE_NOT_SUPPORT
           
static int LUA_API_MODE_CHANGE
           
static int LUA_BAD_DATA_PTR
           
static int LUA_BAD_SESSION_ID
           
static int LUA_BB_NOT_ALLOWED
           
static int LUA_BB_REJECT_NO_RTR
           
static int LUA_BB_REJECT_RTR
           
static int LUA_BID_ALREADY_ENABLED
           
static int LUA_BID_VERB_SEG_ERROR
           
static int LUA_BIND_FM_PROFILE_ERROR
           
static int LUA_BIND_LU_TYPE_ERROR
           
static int LUA_BIND_TS_PROFILE_ERROR
           
static int LUA_BRACKET
           
static int LUA_BRACKET_RACE_ERROR
           
static int LUA_BRACKETS_NOT_SUPPORTED
           
static int LUA_CANCEL_COMMAND_RECEIVED
           
static int LUA_CANCELLED
           
static int LUA_CATEGORY_NOT_SUPPORTED
           
static int LUA_CD_NOT_ALLOWED
           
static int LUA_CD_NOT_SUPPORTED
           
static int LUA_CHAINING_ERROR
           
static int LUA_CHAINING_NOT_SUPPORTED
           
static int LUA_CHASE_RESPONSE_REQUIRED
           
static int LUA_CLOSE_PENDING
           
static int LUA_COBOL_NOT_SUPPORTED
           
static int LUA_COMM_SUBSYSTEM_ABENDED
           
static int LUA_COMM_SUBSYSTEM_NOT_LOADED
           
static int LUA_COMMAND_COUNT_ERROR
           
static int LUA_CRV_ROUTINE_REQUIRED
           
static int LUA_CRYPTOGRAPHY_INOPERATIVE
           
static int LUA_DATA_LENGTH_ERROR
           
static int LUA_DATA_SEG_LENGTH_ERROR
           
static int LUA_DATA_TRAFFIC_NOT_RESET
           
static int LUA_DATA_TRAFFIC_QUIESCED
           
static int LUA_DATA_TRAFFIC_RESET
           
static int LUA_DATA_TRUNCATED
           
static int LUA_DEFINITE_RSP_NOT_ALLOWED
           
static int LUA_DIRECTION
           
static int LUA_DUPLICATE_READ_FLOW
           
static int LUA_DUPLICATE_RUI_INIT
           
static int LUA_DUPLICATE_RUI_REINIT
           
static int LUA_DUPLICATE_WRITE_FLOW
           
static int LUA_EB_NOT_ALLOWED
           
static int LUA_ENCR_DECR_LOAD_ERROR
           
static int LUA_ENCR_DECR_PROC_ERROR
           
static int LUA_ERP_SYNC_EVENT_ERROR
           
static int LUA_EXCEPTION_RSP_NOT_ALLOWED
           
static int LUA_EXR_SENSE_INCORRECT
           
static int LUA_FM_FUNCTION_NOT_SUPPORTED
           
static int LUA_FUNCTION_NOT_SUPPORTED
           
static int LUA_HDX_BRACKET_STATE_ERROR
           
static int LUA_IMMEDIATE_REQ_MODE_ERROR
           
static int LUA_IN_PROGRESS
           
static int LUA_INCORRECT_DR1I_DR2I_ERI
           
static int LUA_INCORRECT_REQUEST_CODE
           
static int LUA_INCORRECT_RU_CATEGORY
           
static int LUA_INCORRECT_SEQUENCE_NUMBER
           
static int LUA_INCORRECT_SPEC_OF_SDI_RTI
           
static int LUA_INCORRECT_USE_OF_EDI
           
static int LUA_INCORRECT_USE_OF_FI
           
static int LUA_INCORRECT_USE_OF_PDI
           
static int LUA_INCORRECT_USE_OF_QRI
           
static int LUA_INIT_COMPLETE
           
static int LUA_INSUFFICIENT_RESOURCES
           
static int LUA_INV_ADPT_NUM
           
static int LUA_INV_NAU_ADDR
           
static int LUA_INVALID_ADAPTER
           
static int LUA_INVALID_FLOW
           
static int LUA_INVALID_FORMAT
           
static int LUA_INVALID_LUNAME
           
static int LUA_INVALID_LUNUMBER
           
static int LUA_INVALID_MESSAGE_TYPE
           
static int LUA_INVALID_OPEN_DATA
           
static int LUA_INVALID_OPEN_INIT_TYPE
           
static int LUA_INVALID_OPEN_ROUTINE_TYPE
           
static int LUA_INVALID_PARAMETER
           
static int LUA_INVALID_PARAMETER_FLAGS
           
static int LUA_INVALID_POST_HANDLE
           
static int LUA_INVALID_PROCESS
           
static int LUA_INVALID_PUNAME
           
static int LUA_INVALID_SC_OR_NC_RH
           
static int LUA_INVALID_SESSION_PARAMETERS
           
static int LUA_INVALID_SESSION_TYPE
           
static int LUA_INVALID_SLI_ENCR_OPTION
           
static int LUA_INVALID_VERB
           
static int LUA_INVALID_VERB_SEGMENT
           
static int LUA_LINK_NOT_STARTED
           
static int LUA_LINK_NOT_STARTED_RETRY
           
static int LUA_LU_COMPONENT_DISCONNECTED
           
static int LUA_LU_INOPERATIVE
           
static int LUA_MAX_NUMBER_OF_SENDS
           
static int LUA_MESSAGE_TYPE_BID
           
static int LUA_MESSAGE_TYPE_BIND
           
static int LUA_MESSAGE_TYPE_BIS
           
static int LUA_MESSAGE_TYPE_CANCEL
           
static int LUA_MESSAGE_TYPE_CHASE
           
static int LUA_MESSAGE_TYPE_CLEAR
           
static int LUA_MESSAGE_TYPE_CRV
           
static int LUA_MESSAGE_TYPE_LU_DATA
           
static int LUA_MESSAGE_TYPE_LUSTAT_LU
           
static int LUA_MESSAGE_TYPE_LUSTAT_SSCP
           
static int LUA_MESSAGE_TYPE_PASSTHRU
           
static int LUA_MESSAGE_TYPE_QC
           
static int LUA_MESSAGE_TYPE_QEC
           
static int LUA_MESSAGE_TYPE_RELQ
           
static int LUA_MESSAGE_TYPE_RQR
           
static int LUA_MESSAGE_TYPE_RSP
           
static int LUA_MESSAGE_TYPE_RTR
           
static int LUA_MESSAGE_TYPE_SBI
           
static int LUA_MESSAGE_TYPE_SDT
           
static int LUA_MESSAGE_TYPE_SHUTD
           
static int LUA_MESSAGE_TYPE_SIGNAL
           
static int LUA_MESSAGE_TYPE_SSCP_DATA
           
static int LUA_MESSAGE_TYPE_STSN
           
static int LUA_MESSAGE_TYPE_UNBIND
           
static int LUA_MODE_INCONSISTENCY
           
static int LUA_MULTIPLE_WRITE_FLOWS
           
static int LUA_NAU_INOPERATIVE
           
static int LUA_NEG_NOTIFY_RSP
           
static int LUA_NEG_RSP_FROM_BIND_ROUTINE
           
static int LUA_NEG_RSP_FROM_CRV_ROUTINE
           
static int LUA_NEG_RSP_FROM_SDT_ROUTINE
           
static int LUA_NEG_RSP_FROM_STSN_ROUTINE
           
static int LUA_NEGATIVE_RSP
           
static int LUA_NEGATIVE_RSP_CHASE
           
static int LUA_NEGATIVE_RSP_RSHUTD
           
static int LUA_NEGATIVE_RSP_SHUTC
           
static int LUA_NEGOTIABLE_BIND_ERROR
           
static int LUA_NO_BEGIN_BRACKET
           
static int LUA_NO_DATA
           
static int LUA_NO_PREVIOUS_BID_ENABLED
           
static int LUA_NO_READ_TO_PURGE
           
static int LUA_NO_RECEIVE_TO_PURGE
           
static int LUA_NO_RESPONSE_NOT_ALLOWED
           
static int LUA_NO_RUI_SESSION
           
static int LUA_NO_SESSION
           
static int LUA_NO_SLI_SESSION
           
static int LUA_NON_UNIQ_ID
           
static int LUA_NON_UNIQ_NAU_AD
           
static int LUA_NOT_ACTIVE
           
static int LUA_NOT_READY
           
static int LUA_OK
           
static int LUA_PACING_NOT_SUPPORTED
           
static int LUA_PARAMETER_CHECK
           
static int LUA_PROCEDURE_ERROR
           
static int LUA_PURGED
           
static int LUA_QUEUED_RESPONSE_ERROR
           
static int LUA_READY
           
static int LUA_REC_CORR_TABLE_FULL
           
static int LUA_RECEIVE_ON_FLOW_PENDING
           
static int LUA_RECEIVED_UNBIND
           
static int LUA_RECEIVED_UNBIND_HOLD
           
static int LUA_RECEIVED_UNBIND_NORMAL
           
static int LUA_RECEIVER_IN_TRANSMIT_MODE
           
static int LUA_REINIT_INVALID
           
static int LUA_REQ_RESOURCES_NOT_AVAIL
           
static int LUA_REQUEST_NOT_EXECUTABLE
           
static int LUA_REQUIRED_FIELD_MISSING
           
static int LUA_RESERVED_FIELD_NOT_ZERO
           
static int LUA_RESOURCE_NOT_AVAILABLE
           
static int LUA_RESPONSE_ALREADY_SENT
           
static int LUA_RESPONSE_OUT_OF_ORDER
           
static char LUA_RH_DFC
           
static char LUA_RH_FMD
           
static char LUA_RH_NC
           
static char LUA_RH_SC
           
static int LUA_RSP_BEFORE_SENDING_REQ
           
static int LUA_RSP_CORRELATION_ERROR
           
static int LUA_RSP_PROTOCOL_ERROR
           
static int LUA_RU_DATA_ERROR
           
static int LUA_RU_LENGTH_ERROR
           
static int LUA_RUI_LOGIC_ERROR
           
static int LUA_RUI_WRITE_FAILURE
           
static int LUA_SC_PROTOCOL_VIOLATION
           
static int LUA_SEC_RC_OK
           
static int LUA_SEND_CORR_TABLE_FULL
           
static int LUA_SEND_ON_FLOW_PENDING
           
static int LUA_SESSION_ALREADY_OPEN
           
static int LUA_SESSION_END_REQUESTED
           
static int LUA_SESSION_FAILURE
           
static int LUA_SESSION_LIMIT_EXCEEDED
           
static int LUA_SESSION_SERVICE_PATH_ERROR
           
static int LUA_SLI_BID_PENDING
           
static int LUA_SLI_LOGIC_ERROR
           
static int LUA_SLI_PURGE_PENDING
           
static int LUA_SLU_SESSION_LIMIT_EXCEEDED
           
static int LUA_SSCP_LU_SESSION_NOT_ACTIVE
           
static int LUA_SSCP_PLU_SESS_NOT_ACTIVE
           
static int LUA_SSCP_SLU_SESS_INACT
           
static int LUA_STACK_TOO_SMALL
           
static int LUA_STATE_CHECK
           
static int LUA_STATUS
           
static int LUA_STSN_ROUTINE_REQUIRED
           
static int LUA_SYNC_EVENT_RESPONSE
           
static int LUA_TERMINATED
           
static int LUA_UNAUTHORIZED_ACCESS
           
static int LUA_UNEXPECTED_DOS_ERROR
           
static int LUA_UNEXPECTED_SNA_SEQUENCE
           
static int LUA_UNIT_OF_WORK_ABORTED
           
static int LUA_UNSUCCESSFUL
           
static int LUA_VERB_LENGTH_INVALID
           
static int LUA_VERB_RECORD_SPANS_SEGMENTS
           
static char MAXRU
           
static java.lang.String MESSAGE
           
static java.lang.String MESSAGE_CANCELLED
           
static java.lang.String NEGATIVE_RESPONSE
           
static java.lang.String NO_RECEIVING
           
static java.lang.String PENDING_BETWEEN_BRACKETS
           
static java.lang.String PENDING_IN_BRACKETS
           
static java.lang.String PENDING_TERM_R
           
static java.lang.String PENDING_TERM_S
           
static java.lang.String POSITIVE_RESPONSE
           
static java.lang.String RECEIVE
           
static java.lang.String RESET
           
static java.lang.String SEND_BET_TR
           
static java.lang.String SEND_IN_TR
           
static java.lang.String SESSION_CLOSED
           
static java.lang.String SESSION_DOWN
           
static java.lang.String SESSION_ESTABLISHED
           
static java.lang.String SESSION_NOT_ESTABLISHED
           
static java.lang.String SOLICITED
           
static java.lang.String UNSOLICITED
           
static java.lang.String UNSOLICITED_MESSAGE
           
static java.lang.String UNSOLICITED_MESSAGE_CANCELLED
           
 
Fields inherited from interface com.ibm.dse.services.comms.CommonCommunicationsService
CLOSED, DATA, DATASENT, ERROR, OPENED, RECEIVERC, TIMEOUT
 
Method Summary
 void addBIDReceivedListener(BIDReceivedListener newListener)
          Generated to support the BIDReceived event.
 void addMessageCancelledListener(MessageCancelledListener newListener)
          Generated to support the .MessageCancelled event.
 void addMessageListener(MessageListener newListener)
          Generated to support the Message event.
 void addNegativeResponseListener(NegativeResponseListener newListener)
          Generated to support the NegativeResponse event.
 void addPositiveResponseListener(PositiveResponseListener newListener)
          Generated to support the PositiveResponse event.
 void addSessionClosedListener(SessionClosedListener newListener)
          Generated to support the SessionClosed event.
 void addSessionDownListener(SessionDownListener newListener)
          Generated to support the SessionDown event.
 void addSessionEstablishedListener(SessionEstablishedListener newListener)
          Generated to support the SessionEstablished event.
 void addSessionNotEstablishedListener(SessionNotEstablishedListener newListener)
          Generated to support the SessionNotEstablished event.
 void addUnsolicitedMessageCancelledListener(UnsolicitedMessageCancelledListener newListener)
          Generated to support the UnsolicitedMessageCancelled event.
 void addUnsolicitedMessageListener(UnsolicitedMessageListener newListener)
          Generated to support the UnsolicitedMessage event.
 void closeSession()
          Closes the LU-LU end-to-end session.
 void establishSession()
          Establishes the LU-LU session.
 boolean getAutomaticSessionEstablishment()
          Gets the automaticSessionEstablishment property (java.lang.Boolean) value.
 boolean getBIDManaged()
          Gets the BIDManaged property (boolean) value.
 boolean getChaining()
          Returns the value of the chaining protocol.
 boolean getCompression()
          Gets the compression property (boolean) value.
 java.lang.String getDefaultCodeSet()
          Gets the defaultCodeSet property (java.lang.String) value.
 boolean getDefiniteResponseSolicited()
          Returns the value of the definite response protocol.
 boolean getEndBracketSent()
          Returns the value of the end bracket protocol.
 int getEstablishSessionRetries()
          Gets the establishSessionRetries property (int) value.
 int getEstablishTimeout()
          Gets the establishTimeout property (int) value.
 boolean getFmhHeaderSent()
          Returns the value of the FMH sent protocol.
 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.
 boolean getInUse()
          Gets the in use.
 java.lang.String getLuName()
          Gets the luName property (java.lang.String) value.
 boolean getManageResponses()
          Returns the value of the response protocol.
 boolean getMessageToLu()
          Returns the value message received.
 java.lang.String getSessionStatus()
          Gets the communication status value.
 boolean getSynchronousMode()
          Gets the synchronousMode property (boolean) value.
 int getTimeBetweenRetries()
          Gets the timeBetweenRetries property (int) value.
 void initInstance()
          Initiates all handlers that have a default treatment.
 boolean isFree()
          Returns if the session is free
 boolean isOffline()
          Returns if the session is offline
 Lu0Message messageReceived()
          Returns the last message received from host if there is one.
 Lu0Message messageReceived(Context aContext, FormatElement aFormat)
          Returns the last message received from host if there is one.
 Lu0Message messageReceived(Context aContext, java.lang.String aFormatName)
          Returns the last message received from host if there is one.
 Lu0Message peekMessageReceived()
          Reads the last message received.
 Lu0Message receive(long aTimeout)
          Returns the last message received as a Lu0SnaSession object.If there is no message, waits until the timeout expires.
 Lu0Message receive(long aTimeout, Context aContext, FormatElement aFormat)
          Returns the last message received as a Lu0SnaSession object.If there is no message, waits until the timeout expires.
 Lu0Message receive(long aTimeout, Context aContext, java.lang.String aFormatName)
          Returns the last message received as a Lu0SnaSession object.If there is no message, waits until the timeout expires.
 void removeBIDReceivedListener(BIDReceivedListener newListener)
          Generated to support the BIDReceived event.
 void removeMessageCancelledListener(MessageCancelledListener newListener)
          Generated to support the MessageCancelled event.
 void removeMessageListener(MessageListener newListener)
          Generated to support the Message event.
 void removeNegativeResponseListener(NegativeResponseListener newListener)
          Generated to support the NegativeResponse event.
 void removePositiveResponseListener(PositiveResponseListener newListener)
          Generated to support the PositiveResponse event.
 void removeSessionClosedListener(SessionClosedListener newListener)
          Generated to support the SessionClosed event.
 void removeSessionDownListener(SessionDownListener newListener)
          Generated to support the SessionDown event.
 void removeSessionEstablishedListener(SessionEstablishedListener newListener)
          Generated to support the SessionEstablished event.
 void removeSessionNotEstablishedListener(SessionNotEstablishedListener newListener)
          Generated to support the SessionNotEstablished event.
 void removeUnsolicitedMessageCancelledListener(UnsolicitedMessageCancelledListener newListener)
          Generated to support the UnsolicitedMessageCancelled event.
 void removeUnsolicitedMessageListener(UnsolicitedMessageListener newListener)
          Generated to support the UnsolicitedMessage event.
 void send(Context aContext, FormatElement aFormat)
           Formats and sends the context (aContext) for aFormat.
 void send(Context aContext, java.lang.String aFormatName)
           Formats and sends the context (aContext) for aFormatName.
 void send(java.lang.String aDataString)
          Sends a message unit.
 void sendCancel()
          Sends a SNA Cancel command.
 void sendCommand(java.lang.String aCommand)
          Sends the SNA aCommand, which must be a valid command (Lustat, Signal) in hexadecimal.
 void sendFic(Context aContext, FormatElement aFormat)
          Sends a message with the First In Chain (FIC) identifier.
 void sendFic(Context aContext, java.lang.String aFormatName)
          Sends a message with the First In Chain (FIC) identifier.
 void sendFic(java.lang.String aDataString)
          Sends a message with the First In Chain (FIC) identifier.
 void sendLic(Context aContext, FormatElement aFormat)
          Sends a message with the Last In Chain (LIC) identifier.
 void sendLic(Context aContext, java.lang.String aFormatName)
          Sends a message with the Last In Chain (LIC) identifier.
 void sendLic(java.lang.String aDataString)
          Sends a message with the Last In Chain (LIC) identifier.
 void sendMic(Context aContext, FormatElement aFormat)
          Sends a message with the Middle In Chain (MIC) identifier.
 void sendMic(Context aContext, java.lang.String aFormatName)
          Sends a message with the Middle In Chain (MIC) identifier.
 void sendMic(java.lang.String aDataString)
          Sends a message with the Middle In Chain (MIC) identifier.
 void sendNegativeResponse(java.lang.String aSense)
          Sends a negative response to the last message received.
 void sendPositiveResponse()
          Sends a positive response to the last message received.
 void sendReadyToReceive()
          Sends a SNA RTR command.
 void setAutomaticSessionEstablishment(boolean automaticSessionEstablishment)
          Sets the automaticSessionEstablishment property (boolean) value.
 void setBIDManaged(boolean BIDManaged)
          Sets the BIDManaged property (boolean) value.
 void setChaining(boolean chaining)
          Sets the chaining protocol.
 void setCompression(boolean compression)
          Sets the compression property (boolean) value.
 void setDefaultCodeSet(java.lang.String defaultCodeSet)
          Sets the defaultCodeSet property (java.lang.String) value.
 void setDefiniteResponseSolicited(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(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(int establishSessionRetries)
          Sets the establishSessionRetries property (int) value.
 void setEstablishTimeout(int establishTimeout)
          Sets the timeBetweenRetries property (int) value.
 void setFmhHeaderSent(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(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 host application name.
 void setInUse(boolean anuse)
          Sets the in use.
 void setLuName(java.lang.String luName)
          Sets the luName property (java.lang.String) value.
 void setManageResponses(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(boolean messageToLu)
          Sets the type of the host partner session to: true:the destination is the remote Lu(the default) or false:the destination is the SSCP
 void setSynchronousMode(boolean asynchronousMode)
          Sets the synchronousMode property (boolean) value.
 void setTimeBetweenRetries(int timeBetweenRetries)
          Sets the timeBetweenRetries property (int) value.
 void terminate()
          Terminates the session.
 
Methods inherited from interface com.ibm.dse.services.comms.CommonCommunicationsService
ccClose, ccOpen, ccReceiveData, ccSendData, ccSendReceive, getCcClosedEventName, getCcDataReceivedEventName, getCcErrorReceivedEventName, getCcOpenedEventName
 
Methods inherited from interface com.ibm.dse.base.Notifier
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent
 

Field Detail

LU0_WRAPPER_DLL

public static final java.lang.String LU0_WRAPPER_DLL

LISTEN_THREAD

public static final java.lang.String LISTEN_THREAD

DEFAULT_CODESET

public static final java.lang.String DEFAULT_CODESET

RESET

public static final java.lang.String RESET

ESTABLISHING

public static final java.lang.String ESTABLISHING

SEND_IN_TR

public static final java.lang.String SEND_IN_TR

SEND_BET_TR

public static final java.lang.String SEND_BET_TR

RECEIVE

public static final java.lang.String RECEIVE

CLOSING

public static final java.lang.String CLOSING

BETWEEN_BRACKETS

public static final java.lang.String BETWEEN_BRACKETS

IN_BRACKETS

public static final java.lang.String IN_BRACKETS

PENDING_BETWEEN_BRACKETS

public static final java.lang.String PENDING_BETWEEN_BRACKETS

PENDING_IN_BRACKETS

public static final java.lang.String PENDING_IN_BRACKETS

PENDING_TERM_S

public static final java.lang.String PENDING_TERM_S

PENDING_TERM_R

public static final java.lang.String PENDING_TERM_R

NO_RECEIVING

public static final java.lang.String NO_RECEIVING

DISCARDING

public static final java.lang.String DISCARDING

UNSOLICITED

public static final java.lang.String UNSOLICITED

SOLICITED

public static final java.lang.String SOLICITED

SESSION_ESTABLISHED

public static final java.lang.String SESSION_ESTABLISHED

SESSION_NOT_ESTABLISHED

public static final java.lang.String SESSION_NOT_ESTABLISHED

MESSAGE

public static final java.lang.String MESSAGE

MESSAGE_CANCELLED

public static final java.lang.String MESSAGE_CANCELLED

UNSOLICITED_MESSAGE

public static final java.lang.String UNSOLICITED_MESSAGE

UNSOLICITED_MESSAGE_CANCELLED

public static final java.lang.String UNSOLICITED_MESSAGE_CANCELLED

BID_RECEIVED

public static final java.lang.String BID_RECEIVED

NEGATIVE_RESPONSE

public static final java.lang.String NEGATIVE_RESPONSE

POSITIVE_RESPONSE

public static final java.lang.String POSITIVE_RESPONSE

SESSION_CLOSED

public static final java.lang.String SESSION_CLOSED

SESSION_DOWN

public static final java.lang.String SESSION_DOWN

LUA_OK

public static final int LUA_OK

LUA_PARAMETER_CHECK

public static final int LUA_PARAMETER_CHECK

LUA_STATE_CHECK

public static final int LUA_STATE_CHECK

LUA_SESSION_FAILURE

public static final int LUA_SESSION_FAILURE

LUA_UNSUCCESSFUL

public static final int LUA_UNSUCCESSFUL

LUA_NEGATIVE_RSP

public static final int LUA_NEGATIVE_RSP

LUA_CANCELLED

public static final int LUA_CANCELLED

LUA_IN_PROGRESS

public static final int LUA_IN_PROGRESS

LUA_STATUS

public static final int LUA_STATUS

LUA_COMM_SUBSYSTEM_ABENDED

public static final int LUA_COMM_SUBSYSTEM_ABENDED

LUA_COMM_SUBSYSTEM_NOT_LOADED

public static final int LUA_COMM_SUBSYSTEM_NOT_LOADED

LUA_INVALID_VERB_SEGMENT

public static final int LUA_INVALID_VERB_SEGMENT

LUA_UNEXPECTED_DOS_ERROR

public static final int LUA_UNEXPECTED_DOS_ERROR

LUA_STACK_TOO_SMALL

public static final int LUA_STACK_TOO_SMALL

LUA_INVALID_VERB

public static final int LUA_INVALID_VERB

LUA_SEC_RC_OK

public static final int LUA_SEC_RC_OK

LUA_INVALID_LUNAME

public static final int LUA_INVALID_LUNAME

LUA_BAD_SESSION_ID

public static final int LUA_BAD_SESSION_ID

LUA_DATA_TRUNCATED

public static final int LUA_DATA_TRUNCATED

LUA_BAD_DATA_PTR

public static final int LUA_BAD_DATA_PTR

LUA_DATA_SEG_LENGTH_ERROR

public static final int LUA_DATA_SEG_LENGTH_ERROR

LUA_RESERVED_FIELD_NOT_ZERO

public static final int LUA_RESERVED_FIELD_NOT_ZERO

LUA_INVALID_POST_HANDLE

public static final int LUA_INVALID_POST_HANDLE

LUA_PURGED

public static final int LUA_PURGED

LUA_BID_VERB_SEG_ERROR

public static final int LUA_BID_VERB_SEG_ERROR

LUA_NO_PREVIOUS_BID_ENABLED

public static final int LUA_NO_PREVIOUS_BID_ENABLED

LUA_NO_DATA

public static final int LUA_NO_DATA

LUA_BID_ALREADY_ENABLED

public static final int LUA_BID_ALREADY_ENABLED

LUA_VERB_RECORD_SPANS_SEGMENTS

public static final int LUA_VERB_RECORD_SPANS_SEGMENTS

LUA_INVALID_FLOW

public static final int LUA_INVALID_FLOW

LUA_NOT_ACTIVE

public static final int LUA_NOT_ACTIVE

LUA_VERB_LENGTH_INVALID

public static final int LUA_VERB_LENGTH_INVALID

LUA_REQUIRED_FIELD_MISSING

public static final int LUA_REQUIRED_FIELD_MISSING

LUA_READY

public static final int LUA_READY

LUA_NOT_READY

public static final int LUA_NOT_READY

LUA_INIT_COMPLETE

public static final int LUA_INIT_COMPLETE

LUA_SESSION_END_REQUESTED

public static final int LUA_SESSION_END_REQUESTED

LUA_NO_SLI_SESSION

public static final int LUA_NO_SLI_SESSION

LUA_SESSION_ALREADY_OPEN

public static final int LUA_SESSION_ALREADY_OPEN

LUA_INVALID_OPEN_INIT_TYPE

public static final int LUA_INVALID_OPEN_INIT_TYPE

LUA_INVALID_OPEN_DATA

public static final int LUA_INVALID_OPEN_DATA

LUA_UNEXPECTED_SNA_SEQUENCE

public static final int LUA_UNEXPECTED_SNA_SEQUENCE

LUA_NEG_RSP_FROM_BIND_ROUTINE

public static final int LUA_NEG_RSP_FROM_BIND_ROUTINE

LUA_NEG_RSP_FROM_CRV_ROUTINE

public static final int LUA_NEG_RSP_FROM_CRV_ROUTINE

LUA_NEG_RSP_FROM_STSN_ROUTINE

public static final int LUA_NEG_RSP_FROM_STSN_ROUTINE

LUA_CRV_ROUTINE_REQUIRED

public static final int LUA_CRV_ROUTINE_REQUIRED

LUA_STSN_ROUTINE_REQUIRED

public static final int LUA_STSN_ROUTINE_REQUIRED

LUA_INVALID_OPEN_ROUTINE_TYPE

public static final int LUA_INVALID_OPEN_ROUTINE_TYPE

LUA_MAX_NUMBER_OF_SENDS

public static final int LUA_MAX_NUMBER_OF_SENDS

LUA_SEND_ON_FLOW_PENDING

public static final int LUA_SEND_ON_FLOW_PENDING

LUA_INVALID_MESSAGE_TYPE

public static final int LUA_INVALID_MESSAGE_TYPE

LUA_RECEIVE_ON_FLOW_PENDING

public static final int LUA_RECEIVE_ON_FLOW_PENDING

LUA_DATA_LENGTH_ERROR

public static final int LUA_DATA_LENGTH_ERROR

LUA_CLOSE_PENDING

public static final int LUA_CLOSE_PENDING

LUA_NEGATIVE_RSP_CHASE

public static final int LUA_NEGATIVE_RSP_CHASE

LUA_NEGATIVE_RSP_SHUTC

public static final int LUA_NEGATIVE_RSP_SHUTC

LUA_NEGATIVE_RSP_RSHUTD

public static final int LUA_NEGATIVE_RSP_RSHUTD

LUA_NO_RECEIVE_TO_PURGE

public static final int LUA_NO_RECEIVE_TO_PURGE

LUA_CANCEL_COMMAND_RECEIVED

public static final int LUA_CANCEL_COMMAND_RECEIVED

LUA_RUI_WRITE_FAILURE

public static final int LUA_RUI_WRITE_FAILURE

LUA_INVALID_SESSION_TYPE

public static final int LUA_INVALID_SESSION_TYPE

LUA_SLI_BID_PENDING

public static final int LUA_SLI_BID_PENDING

LUA_SLI_PURGE_PENDING

public static final int LUA_SLI_PURGE_PENDING

LUA_PROCEDURE_ERROR

public static final int LUA_PROCEDURE_ERROR

LUA_INVALID_SLI_ENCR_OPTION

public static final int LUA_INVALID_SLI_ENCR_OPTION

LUA_RECEIVED_UNBIND

public static final int LUA_RECEIVED_UNBIND

LUA_RECEIVED_UNBIND_HOLD

public static final int LUA_RECEIVED_UNBIND_HOLD

LUA_RECEIVED_UNBIND_NORMAL

public static final int LUA_RECEIVED_UNBIND_NORMAL

LUA_SLI_LOGIC_ERROR

public static final int LUA_SLI_LOGIC_ERROR

LUA_TERMINATED

public static final int LUA_TERMINATED

LUA_NO_RUI_SESSION

public static final int LUA_NO_RUI_SESSION

LUA_DUPLICATE_RUI_INIT

public static final int LUA_DUPLICATE_RUI_INIT

LUA_INVALID_PROCESS

public static final int LUA_INVALID_PROCESS

LUA_API_MODE_CHANGE

public static final int LUA_API_MODE_CHANGE

LUA_COMMAND_COUNT_ERROR

public static final int LUA_COMMAND_COUNT_ERROR

LUA_NO_READ_TO_PURGE

public static final int LUA_NO_READ_TO_PURGE

LUA_MULTIPLE_WRITE_FLOWS

public static final int LUA_MULTIPLE_WRITE_FLOWS

LUA_DUPLICATE_READ_FLOW

public static final int LUA_DUPLICATE_READ_FLOW

LUA_DUPLICATE_WRITE_FLOW

public static final int LUA_DUPLICATE_WRITE_FLOW

LUA_LINK_NOT_STARTED

public static final int LUA_LINK_NOT_STARTED

LUA_INVALID_ADAPTER

public static final int LUA_INVALID_ADAPTER

LUA_ENCR_DECR_LOAD_ERROR

public static final int LUA_ENCR_DECR_LOAD_ERROR

LUA_ENCR_DECR_PROC_ERROR

public static final int LUA_ENCR_DECR_PROC_ERROR

LUA_INVALID_PUNAME

public static final int LUA_INVALID_PUNAME

LUA_INVALID_LUNUMBER

public static final int LUA_INVALID_LUNUMBER

LUA_INVALID_FORMAT

public static final int LUA_INVALID_FORMAT

LUA_DUPLICATE_RUI_REINIT

public static final int LUA_DUPLICATE_RUI_REINIT

LUA_REINIT_INVALID

public static final int LUA_REINIT_INVALID

LUA_LINK_NOT_STARTED_RETRY

public static final int LUA_LINK_NOT_STARTED_RETRY

LUA_NEG_RSP_FROM_SDT_ROUTINE

public static final int LUA_NEG_RSP_FROM_SDT_ROUTINE

LUA_NEG_NOTIFY_RSP

public static final int LUA_NEG_NOTIFY_RSP

LUA_RUI_LOGIC_ERROR

public static final int LUA_RUI_LOGIC_ERROR

LUA_COBOL_NOT_SUPPORTED

public static final int LUA_COBOL_NOT_SUPPORTED

LUA_LU_INOPERATIVE

public static final int LUA_LU_INOPERATIVE

LUA_UNAUTHORIZED_ACCESS

public static final int LUA_UNAUTHORIZED_ACCESS

LUA_NON_UNIQ_ID

public static final int LUA_NON_UNIQ_ID

LUA_NON_UNIQ_NAU_AD

public static final int LUA_NON_UNIQ_NAU_AD

LUA_INV_NAU_ADDR

public static final int LUA_INV_NAU_ADDR

LUA_INV_ADPT_NUM

public static final int LUA_INV_ADPT_NUM

LUA_RESOURCE_NOT_AVAILABLE

public static final int LUA_RESOURCE_NOT_AVAILABLE

LUA_SESSION_LIMIT_EXCEEDED

public static final int LUA_SESSION_LIMIT_EXCEEDED

LUA_SLU_SESSION_LIMIT_EXCEEDED

public static final int LUA_SLU_SESSION_LIMIT_EXCEEDED

LUA_MODE_INCONSISTENCY

public static final int LUA_MODE_INCONSISTENCY

LUA_BRACKET_RACE_ERROR

public static final int LUA_BRACKET_RACE_ERROR

LUA_INSUFFICIENT_RESOURCES

public static final int LUA_INSUFFICIENT_RESOURCES

LUA_BB_REJECT_NO_RTR

public static final int LUA_BB_REJECT_NO_RTR

LUA_BB_REJECT_RTR

public static final int LUA_BB_REJECT_RTR

LUA_RECEIVER_IN_TRANSMIT_MODE

public static final int LUA_RECEIVER_IN_TRANSMIT_MODE

LUA_REQUEST_NOT_EXECUTABLE

public static final int LUA_REQUEST_NOT_EXECUTABLE

LUA_INVALID_SESSION_PARAMETERS

public static final int LUA_INVALID_SESSION_PARAMETERS

LUA_UNIT_OF_WORK_ABORTED

public static final int LUA_UNIT_OF_WORK_ABORTED

LUA_FM_FUNCTION_NOT_SUPPORTED

public static final int LUA_FM_FUNCTION_NOT_SUPPORTED

LUA_LU_COMPONENT_DISCONNECTED

public static final int LUA_LU_COMPONENT_DISCONNECTED

LUA_INVALID_PARAMETER_FLAGS

public static final int LUA_INVALID_PARAMETER_FLAGS

LUA_INVALID_PARAMETER

public static final int LUA_INVALID_PARAMETER

LUA_NEGOTIABLE_BIND_ERROR

public static final int LUA_NEGOTIABLE_BIND_ERROR

LUA_BIND_FM_PROFILE_ERROR

public static final int LUA_BIND_FM_PROFILE_ERROR

LUA_BIND_TS_PROFILE_ERROR

public static final int LUA_BIND_TS_PROFILE_ERROR

LUA_BIND_LU_TYPE_ERROR

public static final int LUA_BIND_LU_TYPE_ERROR

LUA_CRYPTOGRAPHY_INOPERATIVE

public static final int LUA_CRYPTOGRAPHY_INOPERATIVE

LUA_REQ_RESOURCES_NOT_AVAIL

public static final int LUA_REQ_RESOURCES_NOT_AVAIL

LUA_SSCP_LU_SESSION_NOT_ACTIVE

public static final int LUA_SSCP_LU_SESSION_NOT_ACTIVE

LUA_SSCP_PLU_SESS_NOT_ACTIVE

public static final int LUA_SSCP_PLU_SESS_NOT_ACTIVE

LUA_SSCP_SLU_SESS_INACT

public static final int LUA_SSCP_SLU_SESS_INACT

LUA_SYNC_EVENT_RESPONSE

public static final int LUA_SYNC_EVENT_RESPONSE

LUA_REC_CORR_TABLE_FULL

public static final int LUA_REC_CORR_TABLE_FULL

LUA_SEND_CORR_TABLE_FULL

public static final int LUA_SEND_CORR_TABLE_FULL

LUA_SESSION_SERVICE_PATH_ERROR

public static final int LUA_SESSION_SERVICE_PATH_ERROR

LUA_RU_DATA_ERROR

public static final int LUA_RU_DATA_ERROR

LUA_RU_LENGTH_ERROR

public static final int LUA_RU_LENGTH_ERROR

LUA_FUNCTION_NOT_SUPPORTED

public static final int LUA_FUNCTION_NOT_SUPPORTED

LUA_HDX_BRACKET_STATE_ERROR

public static final int LUA_HDX_BRACKET_STATE_ERROR

LUA_RESPONSE_ALREADY_SENT

public static final int LUA_RESPONSE_ALREADY_SENT

LUA_EXR_SENSE_INCORRECT

public static final int LUA_EXR_SENSE_INCORRECT

LUA_RESPONSE_OUT_OF_ORDER

public static final int LUA_RESPONSE_OUT_OF_ORDER

LUA_CHASE_RESPONSE_REQUIRED

public static final int LUA_CHASE_RESPONSE_REQUIRED

LUA_CATEGORY_NOT_SUPPORTED

public static final int LUA_CATEGORY_NOT_SUPPORTED

LUA_INCORRECT_SEQUENCE_NUMBER

public static final int LUA_INCORRECT_SEQUENCE_NUMBER

LUA_CHAINING_ERROR

public static final int LUA_CHAINING_ERROR

LUA_BRACKET

public static final int LUA_BRACKET

LUA_DIRECTION

public static final int LUA_DIRECTION

LUA_DATA_TRAFFIC_RESET

public static final int LUA_DATA_TRAFFIC_RESET

LUA_DATA_TRAFFIC_QUIESCED

public static final int LUA_DATA_TRAFFIC_QUIESCED

LUA_DATA_TRAFFIC_NOT_RESET

public static final int LUA_DATA_TRAFFIC_NOT_RESET

LUA_NO_BEGIN_BRACKET

public static final int LUA_NO_BEGIN_BRACKET

LUA_SC_PROTOCOL_VIOLATION

public static final int LUA_SC_PROTOCOL_VIOLATION

LUA_IMMEDIATE_REQ_MODE_ERROR

public static final int LUA_IMMEDIATE_REQ_MODE_ERROR

LUA_QUEUED_RESPONSE_ERROR

public static final int LUA_QUEUED_RESPONSE_ERROR

LUA_ERP_SYNC_EVENT_ERROR

public static final int LUA_ERP_SYNC_EVENT_ERROR

LUA_RSP_BEFORE_SENDING_REQ

public static final int LUA_RSP_BEFORE_SENDING_REQ

LUA_RSP_CORRELATION_ERROR

public static final int LUA_RSP_CORRELATION_ERROR

LUA_RSP_PROTOCOL_ERROR

public static final int LUA_RSP_PROTOCOL_ERROR

LUA_INVALID_SC_OR_NC_RH

public static final int LUA_INVALID_SC_OR_NC_RH

LUA_BB_NOT_ALLOWED

public static final int LUA_BB_NOT_ALLOWED

LUA_EB_NOT_ALLOWED

public static final int LUA_EB_NOT_ALLOWED

LUA_EXCEPTION_RSP_NOT_ALLOWED

public static final int LUA_EXCEPTION_RSP_NOT_ALLOWED

LUA_DEFINITE_RSP_NOT_ALLOWED

public static final int LUA_DEFINITE_RSP_NOT_ALLOWED

LUA_PACING_NOT_SUPPORTED

public static final int LUA_PACING_NOT_SUPPORTED

LUA_CD_NOT_ALLOWED

public static final int LUA_CD_NOT_ALLOWED

LUA_NO_RESPONSE_NOT_ALLOWED

public static final int LUA_NO_RESPONSE_NOT_ALLOWED

LUA_CHAINING_NOT_SUPPORTED

public static final int LUA_CHAINING_NOT_SUPPORTED

LUA_BRACKETS_NOT_SUPPORTED

public static final int LUA_BRACKETS_NOT_SUPPORTED

LUA_CD_NOT_SUPPORTED

public static final int LUA_CD_NOT_SUPPORTED

LUA_INCORRECT_USE_OF_FI

public static final int LUA_INCORRECT_USE_OF_FI

LUA_ALTERNATE_CODE_NOT_SUPPORT

public static final int LUA_ALTERNATE_CODE_NOT_SUPPORT

LUA_INCORRECT_RU_CATEGORY

public static final int LUA_INCORRECT_RU_CATEGORY

LUA_INCORRECT_REQUEST_CODE

public static final int LUA_INCORRECT_REQUEST_CODE

LUA_INCORRECT_SPEC_OF_SDI_RTI

public static final int LUA_INCORRECT_SPEC_OF_SDI_RTI

LUA_INCORRECT_DR1I_DR2I_ERI

public static final int LUA_INCORRECT_DR1I_DR2I_ERI

LUA_INCORRECT_USE_OF_QRI

public static final int LUA_INCORRECT_USE_OF_QRI

LUA_INCORRECT_USE_OF_EDI

public static final int LUA_INCORRECT_USE_OF_EDI

LUA_INCORRECT_USE_OF_PDI

public static final int LUA_INCORRECT_USE_OF_PDI

LUA_NAU_INOPERATIVE

public static final int LUA_NAU_INOPERATIVE

LUA_NO_SESSION

public static final int LUA_NO_SESSION

LUA_RH_FMD

public static final char LUA_RH_FMD

LUA_RH_NC

public static final char LUA_RH_NC

LUA_RH_DFC

public static final char LUA_RH_DFC

LUA_RH_SC

public static final char LUA_RH_SC

LUA_MESSAGE_TYPE_LU_DATA

public static final int LUA_MESSAGE_TYPE_LU_DATA

LUA_MESSAGE_TYPE_SSCP_DATA

public static final int LUA_MESSAGE_TYPE_SSCP_DATA

LUA_MESSAGE_TYPE_RSP

public static final int LUA_MESSAGE_TYPE_RSP

LUA_MESSAGE_TYPE_PASSTHRU

public static final int LUA_MESSAGE_TYPE_PASSTHRU

LUA_MESSAGE_TYPE_BID

public static final int LUA_MESSAGE_TYPE_BID

LUA_MESSAGE_TYPE_BIND

public static final int LUA_MESSAGE_TYPE_BIND

LUA_MESSAGE_TYPE_BIS

public static final int LUA_MESSAGE_TYPE_BIS

LUA_MESSAGE_TYPE_CANCEL

public static final int LUA_MESSAGE_TYPE_CANCEL

LUA_MESSAGE_TYPE_CHASE

public static final int LUA_MESSAGE_TYPE_CHASE

LUA_MESSAGE_TYPE_CLEAR

public static final int LUA_MESSAGE_TYPE_CLEAR

LUA_MESSAGE_TYPE_CRV

public static final int LUA_MESSAGE_TYPE_CRV

LUA_MESSAGE_TYPE_LUSTAT_LU

public static final int LUA_MESSAGE_TYPE_LUSTAT_LU

LUA_MESSAGE_TYPE_LUSTAT_SSCP

public static final int LUA_MESSAGE_TYPE_LUSTAT_SSCP

LUA_MESSAGE_TYPE_QC

public static final int LUA_MESSAGE_TYPE_QC

LUA_MESSAGE_TYPE_QEC

public static final int LUA_MESSAGE_TYPE_QEC

LUA_MESSAGE_TYPE_RELQ

public static final int LUA_MESSAGE_TYPE_RELQ

LUA_MESSAGE_TYPE_RQR

public static final int LUA_MESSAGE_TYPE_RQR

LUA_MESSAGE_TYPE_RTR

public static final int LUA_MESSAGE_TYPE_RTR

LUA_MESSAGE_TYPE_SBI

public static final int LUA_MESSAGE_TYPE_SBI

LUA_MESSAGE_TYPE_SHUTD

public static final int LUA_MESSAGE_TYPE_SHUTD

LUA_MESSAGE_TYPE_SIGNAL

public static final int LUA_MESSAGE_TYPE_SIGNAL

LUA_MESSAGE_TYPE_SDT

public static final int LUA_MESSAGE_TYPE_SDT

LUA_MESSAGE_TYPE_STSN

public static final int LUA_MESSAGE_TYPE_STSN

LUA_MESSAGE_TYPE_UNBIND

public static final int LUA_MESSAGE_TYPE_UNBIND

MAXRU

public static final char MAXRU
Method Detail

addBIDReceivedListener

public void addBIDReceivedListener(BIDReceivedListener newListener)
Generated to support the BIDReceived event.
Parameters:
newListener - com.ibm.dse.services.comms.BIDReceivedListener

addMessageCancelledListener

public void addMessageCancelledListener(MessageCancelledListener newListener)
Generated to support the .MessageCancelled event.
Parameters:
newListener - com.ibm.dse.services.comms.MessageCancelledListener

addMessageListener

public void addMessageListener(MessageListener newListener)
Generated to support the Message event.
Parameters:
newListener - com.ibm.dse.services.comms.MessageListener

addNegativeResponseListener

public void addNegativeResponseListener(NegativeResponseListener newListener)
Generated to support the NegativeResponse event.
Parameters:
newListener - com.ibm.dse.services.comms.NegativeResponseListener

addPositiveResponseListener

public void addPositiveResponseListener(PositiveResponseListener newListener)
Generated to support the PositiveResponse event.
Parameters:
newListener - com.ibm.dse.services.comms.PositiveResponseListener

addSessionClosedListener

public void addSessionClosedListener(SessionClosedListener newListener)
Generated to support the SessionClosed event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionClosedListener

addSessionDownListener

public void addSessionDownListener(SessionDownListener newListener)
Generated to support the SessionDown event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionDownListener

addSessionEstablishedListener

public void addSessionEstablishedListener(SessionEstablishedListener newListener)
Generated to support the SessionEstablished event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionEstablishedListener

addSessionNotEstablishedListener

public void addSessionNotEstablishedListener(SessionNotEstablishedListener newListener)
Generated to support the SessionNotEstablished event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionNotEstablishedListener

addUnsolicitedMessageCancelledListener

public void addUnsolicitedMessageCancelledListener(UnsolicitedMessageCancelledListener newListener)
Generated to support the UnsolicitedMessageCancelled event.
Parameters:
newListener - com.ibm.dse.services.comms.UnsolicitedMessageCancelledListener

addUnsolicitedMessageListener

public void addUnsolicitedMessageListener(UnsolicitedMessageListener newListener)
Generated to support the UnsolicitedMessage event.
Parameters:
newListener - com.ibm.dse.services.comms.UnsolicitedMessageListener

closeSession

public void closeSession()
                  throws DSELu0InternalErrorException

Closes the LU-LU end-to-end session. The establishSession method is used to establish the session again. Lu0SnaSession send a TERMSELF message to close the session with the host application program. The host answers this call with UNBIND message, at this moment event sessionClosed is signaled.


establishSession

public void establishSession()
                      throws DSELu0InternalErrorException

Establishes the LU-LU session. Lu0SnaSession sends an INITSELF SNA command to initiate session with HostApplication name data , which is specified when the instance is created in the externalizer. When SDT arrives SessionEstablished event is signaled. If the SSCP sends a NSPE command to the secondary Lu then the event SessionNotEstablished is notified.


getAutomaticSessionEstablishment

public boolean getAutomaticSessionEstablishment()

Gets the automaticSessionEstablishment property (java.lang.Boolean) value.

Returns:
The automaticSessionEstablishment property value.
See Also:
setAutomaticSessionEstablishment(boolean)

getBIDManaged

public boolean getBIDManaged()

Gets the BIDManaged property (boolean) value.

Returns:
The BIDManaged property value.
See Also:
setBIDManaged(boolean)

getChaining

public 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(boolean)

getCompression

public boolean getCompression()
Gets the compression property (boolean) value.
Returns:
The compression property value.
See Also:
setCompression(boolean)

getDefaultCodeSet

public java.lang.String getDefaultCodeSet()
Gets the defaultCodeSet property (java.lang.String) value.
Returns:
The defaultCodeSet property value.
See Also:
setDefaultCodeSet(java.lang.String)

getDefiniteResponseSolicited

public 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(boolean)

getEndBracketSent

public 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(boolean)

getEstablishSessionRetries

public int getEstablishSessionRetries()
Gets the establishSessionRetries property (int) 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(int)

getEstablishTimeout

public int getEstablishTimeout()
Gets the establishTimeout property (int) value.
Returns:
The establishTimeout property value.
See Also:
setEstablishTimeout(int)

getFmhHeaderSent

public 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(boolean)

getFmhIncluded

public boolean getFmhIncluded()

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

Returns:
The fmhIncluded property value.
See Also:
setFmhIncluded(boolean)

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)

getInUse

public boolean getInUse()

Gets the in use.

Returns:
boolean

getLuName

public java.lang.String getLuName()

Gets the luName property (java.lang.String) value.

Returns:
The luName property value.
See Also:
setLuName(java.lang.String)

getManageResponses

public 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(boolean)

getMessageToLu

public boolean getMessageToLu()

Returns the value message received. If the value is true, the next message is sent to the LU-LU session. If the value is false, the message is sent to the SSCP-LU session.

Returns:
The messageToLu property value.
See Also:
setMessageToLu(boolean)

getSessionStatus

public java.lang.String getSessionStatus()

Gets the communication status value. Possible values are:

Returns:
The sessionStatus property value.
See Also:
#setSessionStatus

getSynchronousMode

public boolean getSynchronousMode()
Gets the synchronousMode property (boolean) value.
Returns:
The synchronousMode property value.
See Also:
setSynchronousMode(boolean)

getTimeBetweenRetries

public int getTimeBetweenRetries()
Gets the timeBetweenRetries property (int) value. It is the time (specified in seconds in the services SGML file but stored in milliseconds) between each unsuccessful attempt to establish a session.
Returns:
The timeBetweenRetries property value.
See Also:
setTimeBetweenRetries(int)

initInstance

public void initInstance()
                  throws DSELu0InternalErrorException,
                         DSEInvalidArgumentException
Initiates all handlers that have a default treatment. It also does an Init to the Communication Server and creates the listenThread.
Throws:
com.ibm.dse.srevices.comms.DSELu0InternalErrorException -  
com.ibm.dse.srevices.comms.DSEInvalidArgumentException -  

isFree

public boolean isFree()

Returns if the session is free

Specified by:
isFree in interface CommonCommunicationsService
Returns:
boolean

isOffline

public boolean isOffline()

Returns if the session is offline

Specified by:
isOffline in interface CommonCommunicationsService
Returns:
boolean

messageReceived

public Lu0Message messageReceived()
                           throws DSELu0InternalErrorException

Returns the last message received from host if there is one.

Returns:
com.ibm.dse.services.comms.Lu0Message

messageReceived

public Lu0Message messageReceived(Context aContext,
                                  FormatElement aFormat)
                           throws DSELu0InternalErrorException

Returns the last message received from host if there is one.

Parameters:
aContext - com.ibm.dse.base.Context
aFormat - com.ibm.dse.base.FormatElement
Returns:
com.ibm.dse.services.comms.Lu0Message

messageReceived

public Lu0Message messageReceived(Context aContext,
                                  java.lang.String aFormatName)
                           throws DSELu0InternalErrorException

Returns the last message received from host if there is one.

Parameters:
aContext - com.ibm.dse.base.Context
aFormatName - java.lang.String
Returns:
com.ibm.dse.services.comms.Lu0Message

peekMessageReceived

public Lu0Message peekMessageReceived()
                               throws DSELu0InternalErrorException

Reads the last message received. The message is not removed from the messages queue.

Return a Lu0Message if there is a message ready, null if there is no message ready.

Fails if, after receiving an RU of a multiRu chain (chaining = false), the host has cancelled the complete chain. After receiving a message, listenThread is NOT signaled.

This method should be received using the messageReceived method, otherwise no more data is received from the host.


receive

public Lu0Message receive(long aTimeout)
                   throws DSELu0InternalErrorException

Returns the last message received as a Lu0SnaSession object.If there is no message, waits until the timeout expires. In this case, an exception is raised.

Parameters:
aTimeOut - int
Returns:
com.ibm.dse.services.comms.Lu0Message

receive

public Lu0Message receive(long aTimeout,
                          Context aContext,
                          FormatElement aFormat)
                   throws DSELu0InternalErrorException

Returns the last message received as a Lu0SnaSession object.If there is no message, waits until the timeout expires. In this case, an exception is raised.

Parameters:
aTimeout - long
aContext - com.ibm.dse.base.Context
aFormat - com.ibm.dse.base.FormatElement
Returns:
com.ibm.dse.services.comms.Lu0Message

receive

public Lu0Message receive(long aTimeout,
                          Context aContext,
                          java.lang.String aFormatName)
                   throws DSELu0InternalErrorException

Returns the last message received as a Lu0SnaSession object.If there is no message, waits until the timeout expires. In this case, an exception is raised.

Parameters:
aTimeout - long
aContext - com.ibm.dse.base.Context
aFormatName - java.lang.String
Returns:
com.ibm.dse.services.comms.Lu0Message

removeBIDReceivedListener

public void removeBIDReceivedListener(BIDReceivedListener newListener)
Generated to support the BIDReceived event.
Parameters:
newListener - com.ibm.dse.services.comms.BIDReceivedListener

removeMessageCancelledListener

public void removeMessageCancelledListener(MessageCancelledListener newListener)
Generated to support the MessageCancelled event.
Parameters:
newListener - com.ibm.dse.services.comms.MessageCancelledListener

removeMessageListener

public void removeMessageListener(MessageListener newListener)
Generated to support the Message event.
Parameters:
newListener - com.ibm.dse.services.comms.MessageListener

removeNegativeResponseListener

public void removeNegativeResponseListener(NegativeResponseListener newListener)
Generated to support the NegativeResponse event.
Parameters:
newListener - com.ibm.dse.services.comms.NegativeResponseListener

removePositiveResponseListener

public void removePositiveResponseListener(PositiveResponseListener newListener)
Generated to support the PositiveResponse event.
Parameters:
newListener - com.ibm.dse.services.comms.PositiveResponseListener

removeSessionClosedListener

public void removeSessionClosedListener(SessionClosedListener newListener)
Generated to support the SessionClosed event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionClosedListener

removeSessionDownListener

public void removeSessionDownListener(SessionDownListener newListener)
Generated to support the SessionDown event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionDownListener

removeSessionEstablishedListener

public void removeSessionEstablishedListener(SessionEstablishedListener newListener)
Generated to support the SessionEstablished event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionEstablishedListener

removeSessionNotEstablishedListener

public void removeSessionNotEstablishedListener(SessionNotEstablishedListener newListener)
Generated to support the SessionNotEstablished event.
Parameters:
newListener - com.ibm.dse.services.comms.SessionNotEstablishedListener

removeUnsolicitedMessageCancelledListener

public void removeUnsolicitedMessageCancelledListener(UnsolicitedMessageCancelledListener newListener)
Generated to support the UnsolicitedMessageCancelled event.
Parameters:
newListener - com.ibm.dse.services.comms.UnsolicitedMessageCancelledListener

removeUnsolicitedMessageListener

public void removeUnsolicitedMessageListener(UnsolicitedMessageListener newListener)
Generated to support the UnsolicitedMessage event.
Parameters:
newListener - com.ibm.dse.services.comms.UnsolicitedMessageListener

send

public void send(Context aContext,
                 FormatElement aFormat)
          throws DSELu0InternalErrorException,
                 DSELu0InvalidRequestException

Formats and sends the context (aContext) for aFormat.

Parameters:
aContext - com.ibm.dse.base.Context
aFormat - com.ibm.dse.base.FormatElement

send

public void send(Context aContext,
                 java.lang.String aFormatName)
          throws DSELu0InternalErrorException,
                 DSELu0InvalidRequestException

Formats and sends the context (aContext) for aFormatName.

Parameters:
aContext - com.ibm.dse.base.Context
aFormatName - java.lang.String

send

public void send(java.lang.String aDataString)
          throws DSELu0InvalidRequestException,
                 DSELu0InternalErrorException

Sends a message unit. If the length of the message is longer than the inbound RU size, it is broken into smaller RUs. This is transparent to the application which only sees the message as Only In Chain (OIC).

Parameters:
aString - java.lang.String

aString is the formatted data that will be sent to host. If aString length is longer than the maximum inbound RU size, it has to be segmented into smaller RUs.

Fails if:

  1. - Client manages responses and there is one pending response.
  2. - A chain is being sent and FIC is sent and not LIC.
  3. - Session status not correct.

sendCancel

public void sendCancel()
                throws DSELu0InvalidRequestException,
                       DSELu0InternalErrorException

Sends a SNA Cancel command.


sendCommand

public void sendCommand(java.lang.String aCommand)
                 throws DSELu0InvalidRequestException,
                        DSELu0InternalErrorException

Sends the SNA aCommand, which must be a valid command (Lustat, Signal) in hexadecimal.

Parameters:
aCommand - java.lang.String

sendFic

public void sendFic(Context aContext,
                    FormatElement aFormat)
             throws DSEException

Sends a message with the First In Chain (FIC) identifier.

Parameters:
aContext - com.ibm.dse.base.Context
aFormat - com.ibm.dse.base.FormatElement

sendFic

public void sendFic(Context aContext,
                    java.lang.String aFormatName)
             throws DSEException

Sends a message with the First In Chain (FIC) identifier.

Parameters:
aContext - com.ibm.dse.base.Context
aFormatName - java.lang.String

sendFic

public void sendFic(java.lang.String aDataString)
             throws DSELu0InvalidRequestException,
                    DSELu0InternalErrorException

Sends a message with the First In Chain (FIC) identifier.

aString is the formatted data that will be sent to the host. This data is sent as First In Chain.

aString length must be smaller than the MAXIMUM inbound RU size.

Fails if:

  1. - The client manages responses and there is one response pending
  2. - A chain is being sent to the host (FIC has already been sent)
  3. - The sessionStatus is not SESSION_SEND_BET_TR or SESSION_SEND_IN_TR
  4. - The CS returns an error
Parameters:
aString - java.lang.String

sendLic

public void sendLic(Context aContext,
                    FormatElement aFormat)
             throws DSEException

Sends a message with the Last In Chain (LIC) identifier.

Parameters:
aContext - com.ibm.dse.base.Context
aFormat - com.ibm.dse.base.FormatElement

sendLic

public void sendLic(Context aContext,
                    java.lang.String aFormatName)
             throws DSEException

Sends a message with the Last In Chain (LIC) identifier.

Parameters:
aContext - com.ibm.dse.base.Context
aFormatName - java.lang.String

sendLic

public void sendLic(java.lang.String aDataString)
             throws DSELu0InvalidRequestException,
                    DSELu0InternalErrorException

Sends a message with the Last In Chain (LIC) identifier.

Parameters:
aDataString - java.lang.String

sendMic

public void sendMic(Context aContext,
                    FormatElement aFormat)
             throws DSEException

Sends a message with the Middle In Chain (MIC) identifier.

Parameters:
aContext - com.ibm.dse.base.Context
aFormat - com.ibm.dse.base.FormatElement

sendMic

public void sendMic(Context aContext,
                    java.lang.String aFormatName)
             throws DSEException

Sends a message with the Middle In Chain (MIC) identifier.

Parameters:
aContext - com.ibm.dse.base.Context
aFormatName - java.lang.String

sendMic

public void sendMic(java.lang.String aDataString)
             throws DSELu0InvalidRequestException,
                    DSELu0InternalErrorException

Sends a message with the Middle In Chain (MIC) identifier.

Parameters:
aDataString - java.lang.String

sendNegativeResponse

public void sendNegativeResponse(java.lang.String aSense)
                          throws DSELu0InvalidRequestException,
                                 DSELu0InternalErrorException

Sends a negative response to the last message received. aSense is expected to be a valid SNA sense code in hexadecimal.

Parameters:
aSense - java.lang.String

sendPositiveResponse

public void sendPositiveResponse()
                          throws DSELu0InvalidRequestException,
                                 DSELu0InternalErrorException

Sends a positive response to the last message received.

Parameters:
aSense - java.lang.String

sendReadyToReceive

public void sendReadyToReceive()
                        throws DSELu0InvalidRequestException,
                               DSELu0InternalErrorException

Sends a SNA RTR command. It is sent when the BID is managed by the application and it is ready to receive an unsolicited message previously denied.


setAutomaticSessionEstablishment

public void setAutomaticSessionEstablishment(boolean automaticSessionEstablishment)

Sets the automaticSessionEstablishment property (boolean) value.

Parameters:
automaticSessionEstablishment - The new value for the property.
See Also:
getAutomaticSessionEstablishment()

setBIDManaged

public void setBIDManaged(boolean BIDManaged)

Sets the BIDManaged property (boolean) value.

Parameters:
BIDManaged - The new value for the property.
See Also:
getBIDManaged()

setChaining

public void setChaining(boolean chaining)

Sets the chaining protocol.

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

setCompression

public void setCompression(boolean compression)
Sets the compression property (boolean) value.
Parameters:
compression - The new value for the property.
See Also:
getCompression()

setDefaultCodeSet

public void setDefaultCodeSet(java.lang.String defaultCodeSet)
Sets the defaultCodeSet property (java.lang.String) value.
Parameters:
defaultCodeSet - The new value for the property.
See Also:
getDefaultCodeSet()

setDefiniteResponseSolicited

public void setDefiniteResponseSolicited(boolean definiteResponseSolicited)

Sets the definite response protocol to:

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

setEndBracketSent

public void setEndBracketSent(boolean endBracketSent)

Sets the end bracket protocol to :

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

setEstablishSessionRetries

public void setEstablishSessionRetries(int establishSessionRetries)
Sets the establishSessionRetries property (int) value.
Parameters:
establishSessionRetries - The new value for the property.
See Also:
getEstablishSessionRetries()

setEstablishTimeout

public void setEstablishTimeout(int establishTimeout)
Sets the timeBetweenRetries property (int) value.
Parameters:
timeBetweenRetries - The new value for the property.
See Also:
getTimeBetweenRetries()

setFmhHeaderSent

public void setFmhHeaderSent(boolean fmhHeaderSent)

Sets the FMH sent protocol to :

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

setFmhIncluded

public void setFmhIncluded(boolean fmhIncluded)

Sets the FMH received protocol to :

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

setHostApplicationName

public void setHostApplicationName(java.lang.String hostApplicationName)

Sets the host application name.

Parameters:
hostApplicationName - The new value for the property.
See Also:
getHostApplicationName()

setInUse

public void setInUse(boolean anuse)

Sets the in use.

Specified by:
setInUse in interface CommonCommunicationsService
Parameters:
anuse - boolean

setLuName

public void setLuName(java.lang.String luName)

Sets the luName property (java.lang.String) value.

Parameters:
luName - The new value for the property.
See Also:
getLuName()

setManageResponses

public void setManageResponses(boolean manageResponses)

Sets the response protocol to :

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

setMessageToLu

public void setMessageToLu(boolean messageToLu)

Sets the type of the host partner session to:

Parameters:
messageToLu - The new value for the property.
See Also:
getMessageToLu()

setSynchronousMode

public void setSynchronousMode(boolean asynchronousMode)

Sets the synchronousMode property (boolean) value.

Parameters:
synchronousMode - The new value for the property.
See Also:
getSynchronousMode()

setTimeBetweenRetries

public void setTimeBetweenRetries(int timeBetweenRetries)

Sets the timeBetweenRetries property (int) value.

Parameters:
timeBetweenRetries - The new value for the property.
See Also:
getTimeBetweenRetries()

terminate

public void terminate()
               throws DSELu0InternalErrorException

Terminates the session. This method should be sent before de-referencing an Lu0SnaSession instance. It ends both the LU-LU session and the SSCP-LU session. The sessionStatus will be RESET.