|
Sun Adapter for IMS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.eways.ims.IMSClientETDImpl
public class IMSClientETDImpl
| Field Summary | |
|---|---|
protected static long |
ACQUIRE_LOCK_TIMEOUT
|
protected char |
bandrs
|
protected com.stc.connector.framework.util.ConfigurationHelper |
cfgProps
|
protected static java.lang.String |
EIGHT_SPACES
|
protected java.lang.String |
generatedClientID
|
protected com.stc.connector.logging.Logger |
logger
|
protected java.lang.String |
message
|
IMSConfigs |
myConfigs
|
protected IMSClient |
myExtDelegate
|
protected java.lang.String |
replyMessage
|
protected int |
sendCount
|
protected java.lang.String |
TranCodeSrc
|
protected long |
waitTimeout
|
| Constructor Summary | |
|---|---|
IMSClientETDImpl(com.stc.connector.framework.util.ConfigurationHelper cfgProps)
Default constructor for IMSClientETDImpl |
|
| 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. |
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 |
|---|
protected java.lang.String message
protected java.lang.String replyMessage
protected java.lang.String TranCodeSrc
protected char bandrs
protected static final long ACQUIRE_LOCK_TIMEOUT
protected com.stc.connector.framework.util.ConfigurationHelper cfgProps
protected IMSClient myExtDelegate
public IMSConfigs myConfigs
protected static final java.lang.String EIGHT_SPACES
protected com.stc.connector.logging.Logger logger
protected long waitTimeout
protected java.lang.String generatedClientID
protected int sendCount
| Constructor Detail |
|---|
public IMSClientETDImpl(com.stc.connector.framework.util.ConfigurationHelper cfgProps)
throws IMSClientException
IMSClientException| Method Detail |
|---|
public void setServer(java.lang.String msg)
setServer in interface IMSClientETDserver - - server hostpublic java.lang.String getServer()
getServer in interface IMSClientETDpublic void setPort(java.lang.String msg)
setPort in interface IMSClientETDserver - portpublic java.lang.String getPort()
getPort in interface IMSClientETDpublic void setMessage(java.lang.String msg)
setMessage in interface IMSClientETDmessage - public java.lang.String getMessage()
getMessage in interface IMSClientETDpublic void setBandrs(char msg)
setBandrs in interface IMSClientETDbandrs - public char getBandrs()
getBandrs in interface IMSClientETDpublic void setTranCode(java.lang.String msg)
setTranCode in interface IMSClientETDTranCode - public java.lang.String getTranCode()
getTranCode in interface IMSClientETDpublic void setTranCodeSrc(java.lang.String msg)
setTranCodeSrc in interface IMSClientETDTranCodeSrc - public java.lang.String getTranCodeSrc()
getTranCodeSrc in interface IMSClientETDpublic void setDatastoreID(java.lang.String msg)
setDatastoreID in interface IMSClientETDdatastoreID - public java.lang.String getDatastoreID()
getDatastoreID in interface IMSClientETDpublic void setLtermName(java.lang.String msg)
setLtermName in interface IMSClientETDLtermName - public java.lang.String getLtermName()
getLtermName in interface IMSClientETDpublic void setRacfUserID(java.lang.String msg)
setRacfUserID in interface IMSClientETDRacfUserID - public java.lang.String getRacfUserID()
getRacfUserID in interface IMSClientETDpublic void setRacfGroupName(java.lang.String msg)
setRacfGroupName in interface IMSClientETDRacfGroupName - public java.lang.String getRacfGroupName()
getRacfGroupName in interface IMSClientETDpublic void setPassword(java.lang.String msg)
setPassword in interface IMSClientETDPassword - public java.lang.String getPassword()
getPassword in interface IMSClientETDpublic boolean reset()
reset in interface IMSClientETDfalse 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 IMSClientETDIMSClientException - upon an external connection problem
public void disconnect()
throws IMSClientException
disconnect in interface IMSClientETDIMSClientException - upon an external connection problem
public boolean isConnected()
throws IMSClientException
isConnected in interface IMSClientETDIMSClientException - upon an external connection problem
public void IMSRequest(java.lang.String inputMessage)
throws IMSClientException
IMSRequest in interface IMSClientETDinputMessage - String
IMSClientException
public void IMSRequestWithMultiSegs(java.lang.String[] inputMessages)
throws IMSClientException
IMSRequestWithMultiSegs in interface IMSClientETDinputMessages - String[]
IMSClientException
public void IMSRequest()
throws IMSClientException
IMSRequest in interface IMSClientETDIMSClientException
public java.lang.String getReply()
throws IMSClientException
getReply in interface IMSClientETDIMSClientException
public int getSegmentCount()
throws IMSClientException
getSegmentCount in interface IMSClientETDIMSClientException
public byte[] getReplyBytes(int segNum)
throws IMSClientException
getReplyBytes in interface IMSClientETDsegNum - int
IMSClientExceptionpublic java.lang.String getReturnErrMsg()
getReturnErrMsg in interface IMSClientETDpublic java.lang.String getReasonErrMsg()
getReasonErrMsg in interface IMSClientETD
|
Sun Adapter for IMS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||