|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sap.mw.jco.JCO.Connection
com.sap.mw.jco.JCO.Server
com.sap.mw.idoc.jco.JCoIDoc.Server
com.ibm.di.connector.sapr3.aleidoc.SapIDocServerImpl
public class SapIDocServerImpl
Class SapIDocServerImpl is for receiving IDoc and function requests. This is the actual JCo IDoc Server implementation for the Connector and manages the receiving of IDoc and Remote Function Module requests, and also the TID Management for the received requests if applicable.
Field Summary | |
---|---|
protected com.ibm.icu.text.SimpleDateFormat |
timestampFormat
|
Fields inherited from class com.sap.mw.jco.JCO.Server |
---|
AUTHORIZATION_MODE_BASIC, AUTHORIZATION_MODE_SNC, FUNCTION_MODEL, m_middleware, REQUEST_RESPONSE_MODEL |
Fields inherited from class com.sap.mw.jco.JCO.Connection |
---|
attributes, codepage_converter, conn_object, conn_params, connection_cpc_mode, dsr_monitor, jarm_monitor, last_active_timestamp, num_received_bytes, num_sent_bytes, passport_bytes, pool, properties, rfc_handle, rfm_name, start_time, state, throughput, time_handle_request, time_middleware, time_total |
Constructor Summary | |
---|---|
SapIDocServerImpl(SapALEIDocConnector conn,
Properties properties,
com.sap.mw.jco.IRepository jcoRepository,
com.sap.mw.idoc.IDoc.Repository idocRepository)
Constructor of JCoIDoc.Server that takes RFC Server connection parameters contained within a properties object. |
|
SapIDocServerImpl(SapALEIDocConnector conn,
String gwhost,
String gwserv,
String progid,
com.sap.mw.jco.IRepository jcoRepository,
com.sap.mw.idoc.IDoc.Repository idocRepository)
Constructor of JCoIDoc.Server that takes RFC Server connection parameters directly. |
Method Summary | |
---|---|
protected void |
handleRequest(com.sap.mw.idoc.IDoc.DocumentList documentList)
Overridden method of JCoIDoc.Server. |
protected void |
handleRequest(com.sap.mw.jco.JCO.Function function)
Overridden method of JCoIDoc.Server. |
protected boolean |
onCheckTID(String tid)
Overridden method of JCoIDoc.Server. |
protected void |
onConfirmTID(String tid)
Overridden method of JCoIDoc.Server. |
protected Entry |
writeIDocToTDIEntry(String tid,
com.sap.mw.idoc.IDoc.Document jcoIDoc)
Processes a particular IDoc for a particular SAP client transaction. |
protected Entry |
writeRFMToTDIEntry(String tid,
com.sap.mw.jco.JCO.Function function)
Processes a particular RFM for a particular SAP client transaction. |
Methods inherited from class com.sap.mw.idoc.jco.JCoIDoc.Server |
---|
dispatchRequest, getFunction, getIDocRepository, setIDocRepository |
Methods inherited from class com.sap.mw.jco.JCO.Server |
---|
abort, beginCall, checkAuthorization, disconnect, endCall, getAttributes, getCallModel, getDsrPassport, getGWHost, getGWServ, getMiddlewareImplementation, getProgID, getPropertyInfo, getRepository, getServerInterface, getState, getThread, getTrace, handleRequest, isAlive, listen, onCommit, onRollback, run, setCallModel, setProperty, setRepository, setState, setThread, setTrace, start, stop, suspend |
Methods inherited from class com.sap.mw.jco.JCO.Connection |
---|
checkProperties, clone, finalize, getConnectionHandle, getProperties, getProperty, getThroughput, isValid, setThroughput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final com.ibm.icu.text.SimpleDateFormat timestampFormat
Constructor Detail |
---|
public SapIDocServerImpl(SapALEIDocConnector conn, String gwhost, String gwserv, String progid, com.sap.mw.jco.IRepository jcoRepository, com.sap.mw.idoc.IDoc.Repository idocRepository)
public SapIDocServerImpl(SapALEIDocConnector conn, Properties properties, com.sap.mw.jco.IRepository jcoRepository, com.sap.mw.idoc.IDoc.Repository idocRepository)
Method Detail |
---|
protected boolean onCheckTID(String tid)
onCheckTID
in class com.sap.mw.jco.JCO.Server
tid
- -
The SAP client transaction identifier.protected void onConfirmTID(String tid)
onConfirmTID
in class com.sap.mw.jco.JCO.Server
tid
- -
The SAP client transaction identifier.protected void handleRequest(com.sap.mw.idoc.IDoc.DocumentList documentList)
handleRequest
in class com.sap.mw.idoc.jco.JCoIDoc.Server
documentList
- -
The list of IDocs for a particular SAP client transaction.protected Entry writeIDocToTDIEntry(String tid, com.sap.mw.idoc.IDoc.Document jcoIDoc)
tid
- -
The SAP client transaction identifier.jcoIDoc
- -
IDoc to be processed for a particular SAP client transaction.
protected void handleRequest(com.sap.mw.jco.JCO.Function function)
handleRequest
in class com.sap.mw.jco.JCO.Server
function
- -
The remote function call to be processed.protected Entry writeRFMToTDIEntry(String tid, com.sap.mw.jco.JCO.Function function)
tid
- -
The SAP client transaction identifier.function
- -
RFM to be processed for a particular SAP client transaction.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |