|
Sun Adapter for IMS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eways.ims.IMSClientETDAdapter
public class IMSClientETDAdapter
Field Summary | |
---|---|
static int |
CONNECTION_MODE_AUTOMATIC
|
static int |
CONNECTION_MODE_MANUAL
|
Constructor Summary | |
---|---|
IMSClientETDAdapter(com.stc.connector.appconn.common.ApplicationConnectionFactory appConnFactory,
int connectionMode)
Default constructor for IMSClientETDAdapter |
Method Summary | |
---|---|
void |
connect()
Connect to server. |
void |
disconnect()
Disconnect from server. |
char |
getBandrs()
Call this in your collaboration to get the bandrs attribute. |
java.lang.String |
getDatastoreID()
Call this in your collaboration to get the datastoreID attribute. |
java.lang.String |
getLtermName()
Call this in your collaboration to get the LtermName attribute. |
java.lang.String |
getMessage()
Call this in your collaboration to get the message attribute. |
java.lang.String |
getPassword()
Call this in your collaboration to get the Password attribute. |
java.lang.String |
getPort()
Call this in your collaboration to get the port attribute. |
java.lang.String |
getRacfGroupName()
Call this in your collaboration to get the RacfGroupName attribute. |
java.lang.String |
getRacfUserID()
Call this in your collaboration to get the RacfUserID attribute. |
java.lang.String |
getReasonErrMsg()
Call this in your collaboration to get the IMS Connect reason code error message |
java.lang.String |
getReply()
Call this in your collaboration to get the reply from the server. |
byte[] |
getReplyBytes(int segNum)
Call this in your collaboration to get the reply from the server as bytes. |
java.lang.String |
getReturnErrMsg()
Call this in your collaboration to get the IMS Connect return code error message |
int |
getSegmentCount()
Call this in your collaboration to return the number of segments in the reply message. |
java.lang.String |
getServer()
Call this in your collaboration to get the server attribute. |
java.lang.String |
getTranCode()
Call this in your collaboration to get the trans code attribute. |
java.lang.String |
getTranCodeSrc()
Call this in your collaboration to get the trans code source attribute. |
void |
IMSRequest()
Call this in your collaboration to send the current value of Message to the server. |
void |
IMSRequest(java.lang.String inputMessage)
Call this in your collaboration to send a message to the server. |
void |
IMSRequestWithMultiSegs(java.lang.String[] inputMessages)
Call this in your collaboration to send multi-segmented messages to the server. |
void |
internalDisconnect()
|
boolean |
isConnected()
Check to see if connected to server. |
boolean |
reset()
reset |
void |
setBandrs(char msg)
Call this in your collaboration to set the bandrs attribute. |
void |
setDatastoreID(java.lang.String msg)
Call this in your collaboration to set the datastoreID attribute. |
void |
setLtermName(java.lang.String msg)
Call this in your collaboration to set the LtermName attribute. |
void |
setMessage(java.lang.String msg)
Call this in your collaboration to set the message attribute. |
void |
setPassword(java.lang.String msg)
Call this in your collaboration to set the Password attribute. |
void |
setPort(java.lang.String msg)
Call this in your collaboration to set the port attribute. |
void |
setRacfGroupName(java.lang.String msg)
Call this in your collaboration to set the RacfGroupName attribute. |
void |
setRacfUserID(java.lang.String msg)
Call this in your collaboration to set the RacfUserID attribute. |
void |
setServer(java.lang.String msg)
Call this in your collaboration to set the server attribute. |
void |
setTranCode(java.lang.String msg)
Call this in your collaboration to set the trans code attribute. |
void |
setTranCodeSrc(java.lang.String msg)
Call this in your collaboration to set the trans code source attribute. |
void |
terminate()
terminate Closes external connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CONNECTION_MODE_AUTOMATIC
public static final int CONNECTION_MODE_MANUAL
Constructor Detail |
---|
public IMSClientETDAdapter(com.stc.connector.appconn.common.ApplicationConnectionFactory appConnFactory, int connectionMode)
appConnFactory
- The ApplicationConnectionFactory.connectionMode
- The connection modeMethod Detail |
---|
public void setServer(java.lang.String msg)
setServer
in interface IMSClientETD
server
- - server hostpublic java.lang.String getServer()
getServer
in interface IMSClientETD
public void setPort(java.lang.String msg)
setPort
in interface IMSClientETD
server
- portpublic java.lang.String getPort()
getPort
in interface IMSClientETD
public void setMessage(java.lang.String msg)
setMessage
in interface IMSClientETD
message
- public java.lang.String getMessage()
getMessage
in interface IMSClientETD
public void setBandrs(char msg)
setBandrs
in interface IMSClientETD
bandrs
- public char getBandrs()
getBandrs
in interface IMSClientETD
public void setTranCode(java.lang.String msg)
setTranCode
in interface IMSClientETD
TranCode
- public java.lang.String getTranCode()
getTranCode
in interface IMSClientETD
public void setTranCodeSrc(java.lang.String msg)
setTranCodeSrc
in interface IMSClientETD
TranCodeSrc
- public java.lang.String getTranCodeSrc()
getTranCodeSrc
in interface IMSClientETD
public void setDatastoreID(java.lang.String msg)
setDatastoreID
in interface IMSClientETD
datastoreID
- public java.lang.String getDatastoreID()
getDatastoreID
in interface IMSClientETD
public void setLtermName(java.lang.String msg)
setLtermName
in interface IMSClientETD
LtermName
- public java.lang.String getLtermName()
getLtermName
in interface IMSClientETD
public void setRacfUserID(java.lang.String msg)
setRacfUserID
in interface IMSClientETD
RacfUserID
- public java.lang.String getRacfUserID()
getRacfUserID
in interface IMSClientETD
public void setRacfGroupName(java.lang.String msg)
setRacfGroupName
in interface IMSClientETD
RacfGroupName
- public java.lang.String getRacfGroupName()
getRacfGroupName
in interface IMSClientETD
public void setPassword(java.lang.String msg)
setPassword
in interface IMSClientETD
Password
- public java.lang.String getPassword()
getPassword
in interface IMSClientETD
public boolean reset()
reset
in interface IMSClientETD
false
if the IMSClientETD doesn't have a meaningful implementation of
reset()
; so do a new
of the IMSClientETD instead.
Otherwise, return true
if the reset will clear the data content
of the IMSClient.public void terminate() throws IMSClientException
IMSClientException
public void connect() throws IMSClientException
connect
in interface IMSClientETD
IMSClientException
- upon an external connection problempublic void disconnect() throws IMSClientException
disconnect
in interface IMSClientETD
IMSClientException
- upon an external connection problempublic boolean isConnected() throws IMSClientException
isConnected
in interface IMSClientETD
IMSClientException
- upon an external connection problempublic void IMSRequest(java.lang.String inputMessage) throws IMSClientException
IMSRequest
in interface IMSClientETD
inputMessage
- String
IMSClientException
public void IMSRequestWithMultiSegs(java.lang.String[] inputMessages) throws IMSClientException
IMSRequestWithMultiSegs
in interface IMSClientETD
inputMessages
- String[]
IMSClientException
public void IMSRequest() throws IMSClientException
IMSRequest
in interface IMSClientETD
IMSClientException
public java.lang.String getReply() throws IMSClientException
getReply
in interface IMSClientETD
IMSClientException
public int getSegmentCount() throws IMSClientException
getSegmentCount
in interface IMSClientETD
IMSClientException
public byte[] getReplyBytes(int segNum) throws IMSClientException
getReplyBytes
in interface IMSClientETD
segNum
- int
IMSClientException
public java.lang.String getReturnErrMsg()
getReturnErrMsg
in interface IMSClientETD
public java.lang.String getReasonErrMsg()
getReasonErrMsg
in interface IMSClientETD
public void internalDisconnect() throws com.stc.connector.appconn.common.ApplicationConnectionException
com.stc.connector.appconn.common.ApplicationConnectionException
|
Sun Adapter for IMS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |