|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The OTMAConnectionService interface provides OTMAConnection services.
Field Summary | |
static java.lang.String |
ALLOC
|
static java.lang.String |
automaticConnectionEstablishment
If true connection will be established automatically. |
static java.lang.String |
CLOSE
|
static java.lang.String |
disabled
|
static java.lang.String |
enabled
|
static java.lang.String |
FREE
|
static java.lang.String |
IMSMemberName
The value to determine the IMS member name. |
static java.lang.String |
IMSModName
The name of the IMSModName.Should be set to blank. |
static java.lang.String |
LISTEN_THREAD
The name of the additional thread employed by OTMAConnection instance. |
static java.lang.String |
lterm
The name of the lterm.Should be set to blank. |
static java.lang.String |
numberOfResponseSegments
Number of segments sent by IMS. |
static java.lang.String |
OPEN
|
static java.lang.String |
receiveLength
Length of buffer available to receive message. |
static java.lang.String |
SAFgroupName
The name of the IMS SAF group name.Should be set to blank. |
static java.lang.String |
SENDRECEIVE
|
static java.lang.String |
sessions
The number of the maximum paralel sessions. |
static java.lang.String |
TpipePrefix
The name of the IMS Tpipe prefix.. |
static java.lang.String |
transaction
Length of buffer available to receive message. |
static java.lang.String |
userId
The name of RACF ID Should be set to blank. |
static java.lang.String |
XCFgroupName
The value to determine the OTMA XCF group name. |
static java.lang.String |
XCFMemberName
The value to determine the Client XCF member name. |
Fields inherited from interface com.ibm.dse.services.comms.CommonCommunicationsService |
CLOSED,
DATA,
DATASENT,
ERROR,
OPENED,
RECEIVERC,
TIMEOUT |
Method Summary | |
void |
closeConnection()
This method closes OTMA connection . |
boolean |
getAutomaticConnectionEstablishment()
Gets the automaticSessionEstablishment property (java.lang.Boolean) value. |
java.lang.String |
getIMSModName()
Returns IMSModName passed to IMS, optional. |
java.lang.String |
getIMSName()
Returns Server IMS XCF member name for this member. |
java.lang.String |
getLTERM()
Returns LTERM passed to IMS, optional. |
int |
getNumberOfResponseSegments()
Returns number of segments sent by IMS. |
int |
getReceiveBufferLength()
Returns length of buffer available to receive message. |
java.lang.String |
getSAFgroupName()
Returns The SAF(Security Access Facility) group name to be passed to OTMA. |
int |
getSessionsNumber()
Returns number of parallel sessions that are intended to be supported with IMS. |
java.lang.String |
getTpipePrefix()
Returns first 1 to 4 characters of the TPIPE names. |
java.lang.String |
getTransaction()
Returns name of IMS transaction or command to be sent to IMS. |
java.lang.String |
getUserId()
Returns The SAF(Security Access Facility) user ID to be passed to OTMA. |
java.lang.String |
getXCFgroupName()
Returns OTMA XCF Group Name (1 to 8 chars). |
java.lang.String |
getXCFMemberName()
Returns Client XCF Member Name. |
void |
initInstance()
Loads dynamic link library used for OTMA C/I native calls and opends a connection to IMS if automaticConnectionEstablishment selected. |
void |
openConnection()
This method establishes a multi-session OTMA connection. |
OTMAMessage |
sendReceive(java.lang.String aTransaction,
java.lang.String aData,
byte[] session,
int[] sendSegmentList,
long timeout)
Sends data over this session to IMS and receives the output produced. |
OTMAMessage |
sendReceive(java.lang.String aTransaction,
java.lang.String aData,
byte[] session,
long timeout)
Sends data over this session to IMS and receives the output produced. |
OTMAMessage |
sendReceive(java.lang.String aTransaction,
java.lang.String aData,
int[] sendSegmentList,
long timeout)
Sends data over this session to IMS and receives the output produced. |
OTMAMessage |
sendReceive(java.lang.String aTransaction,
java.lang.String aData,
long timeout)
Sends data over this session to IMS and receives the output produced. |
void |
setAutomaticConnectionEstablishment(boolean newAutomaticConnectionEstablishment)
Sets the automaticSessionEstablishment property (java.lang.Boolean) value. |
void |
setIMSModName(java.lang.String newIMSModName)
Sets the value of the IMSModName property. |
void |
setIMSName(java.lang.String newIMSName)
Sets the value of the IMSName property. |
void |
setLTERM(java.lang.String newLTERM)
Sets the value of the LTERM property. |
void |
setNumberOfResponseSegments(int newNumberOfResponseSegments)
Sets the value of the numberOfResponseSegments property. |
void |
setReceiveBufferLength(int newReceiveBufferLength)
Sets length of buffer available to receive message. |
void |
setSAFgroupName(java.lang.String newSAFGroupName)
Sets the value of the SAFgroupName property. |
void |
setSessionsNumber(int newSessionsNumber)
Sets the value of the sessionsNumber property. |
void |
setTpipePrefix(java.lang.String newTpipePrefix)
Sets the value of the tpipePrefix property. |
void |
setTransaction(java.lang.String newTransaction)
Sets name of IMS transaction or command to be sent to IMS. |
void |
setUserId(java.lang.String newUserId)
Sets the SAF(Security Access Facility) user ID to be passed to OTMA. |
void |
setXCFGroupName(java.lang.String newGroupName)
Sets the value of the XCFgroupName property. |
void |
setXCFMemberName(java.lang.String newPartnerName)
Sets the value of the partnerName property. |
void |
terminate()
Terminates the internal resources and closes the conversation. |
Methods inherited from interface com.ibm.dse.services.comms.CommonCommunicationsService |
ccClose,
ccOpen,
ccReceiveData,
ccSendData,
ccSendReceive,
getCcClosedEventName,
getCcDataReceivedEventName,
getCcErrorReceivedEventName,
getCcOpenedEventName,
isFree,
isOffline,
setInUse |
Methods inherited from interface com.ibm.dse.base.Notifier |
addHandler,
getHandlersList,
getName,
removeHandler,
setName,
signalEvent,
signalEvent |
Field Detail |
public static final java.lang.String LISTEN_THREAD
public static final java.lang.String XCFgroupName
public static final java.lang.String IMSMemberName
public static final java.lang.String XCFMemberName
public static final java.lang.String sessions
public static final java.lang.String TpipePrefix
public static final java.lang.String userId
public static final java.lang.String SAFgroupName
public static final java.lang.String lterm
public static final java.lang.String IMSModName
public static final java.lang.String automaticConnectionEstablishment
public static final java.lang.String receiveLength
public static final java.lang.String transaction
public static final java.lang.String numberOfResponseSegments
public static final java.lang.String enabled
public static final java.lang.String disabled
public static final java.lang.String OPEN
public static final java.lang.String CLOSE
public static final java.lang.String ALLOC
public static final java.lang.String FREE
public static final java.lang.String SENDRECEIVE
Method Detail |
public void closeConnection() throws DSEOTMAException
public boolean getAutomaticConnectionEstablishment()
#setAutomaticSessionEstablishment
public java.lang.String getIMSModName()
public java.lang.String getIMSName()
public java.lang.String getLTERM()
public int getNumberOfResponseSegments()
public int getReceiveBufferLength()
public java.lang.String getSAFgroupName()
public int getSessionsNumber()
public java.lang.String getTpipePrefix()
public java.lang.String getTransaction()
public java.lang.String getUserId()
public java.lang.String getXCFgroupName()
public java.lang.String getXCFMemberName()
public void initInstance() throws java.lang.UnsatisfiedLinkError, DSEOTMAException
public void openConnection() throws DSEOTMAException
public OTMAMessage sendReceive(java.lang.String aTransaction, java.lang.String aData, byte[] session, int[] sendSegmentList, long timeout) throws DSEOTMAException
aTransaction,
- name of IMS transaction or command to be sent to IMS.aData,
- Data to be sent to IMS.session,
- session handler returned by a previous interaction when inside a conversation.sendSegmentList,
- Array of lengths of message segments to be sent to IMS. First element is count of following segment lengths .timeout,
- time interval to wait for this request.public OTMAMessage sendReceive(java.lang.String aTransaction, java.lang.String aData, byte[] session, long timeout) throws DSEOTMAException
aTransaction,
- name of IMS transaction or command to be sent to IMS.aData,
- Data to be sent to IMS.session,
- session handler returned by a previous interaction when inside a conversation.timeout,
- time interval to wait for this request.public OTMAMessage sendReceive(java.lang.String aTransaction, java.lang.String aData, int[] sendSegmentList, long timeout) throws DSEOTMAException
aTransaction,
- name of IMS transaction or command to be sent to IMS.aData,
- Data to be sent to IMS.sendSegmentList,
- Array of lengths of message segments to be sent to IMS. First element is count of following segment lengths .timeout,
- time interval to wait for this request.public OTMAMessage sendReceive(java.lang.String aTransaction, java.lang.String aData, long timeout) throws DSEOTMAException
aTransaction,
- name of IMS transaction or command to be sent to IMS.aData,
- Data to be sent to IMS.timeout,
- time interval to wait for this request.public void setAutomaticConnectionEstablishment(boolean newAutomaticConnectionEstablishment)
newAutomaticConnectionEstablishment
- booleanpublic void setIMSModName(java.lang.String newIMSModName)
newIMSModName
- java.lang.Stringpublic void setIMSName(java.lang.String newIMSName)
newIMSName
- java.lang.Stringpublic void setLTERM(java.lang.String newLTERM)
newLTERM
- java.lang.Stringpublic void setNumberOfResponseSegments(int newNumberOfResponseSegments)
newNumberOfResponseSegments
- intpublic void setReceiveBufferLength(int newReceiveBufferLength)
newReceiveBufferLength
- intpublic void setSAFgroupName(java.lang.String newSAFGroupName)
newSAFGroupName
- java.lang.Stringpublic void setSessionsNumber(int newSessionsNumber)
newSessionsNumber
- intpublic void setTpipePrefix(java.lang.String newTpipePrefix)
newTpipePrefix
- java.lang.Stringpublic void setTransaction(java.lang.String newTransaction)
newTransaction
- java.lang.Stringpublic void setUserId(java.lang.String newUserId)
newUserId
- java.lang.Stringpublic void setXCFGroupName(java.lang.String newGroupName)
newGroupName
- java.lang.Stringpublic void setXCFMemberName(java.lang.String newPartnerName)
newPartnerName
- java.lang.Stringpublic void terminate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |