|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerPassportManager
The JDSR Passport Manager Interface for server connections to an SAP application server ABAP backend.
The registered instance, e.g. the passport manager of an SAP Application Server Java, will be
notified through callStarted()
before a request is sent to backend. After finishing the
request the method callFinished()
will be called.
Environment.registerServerPassportManager(com.sap.conn.jco.ext.ServerPassportManager)
,
Environment.removeServerPassportManager(com.sap.conn.jco.ext.ServerPassportManager)
Method Summary | |
---|---|
void |
requestFinished(int serverID,
long sendBytes,
long receivedBytes)
JCo will call this method after a function processing within the server has been finished, regardless of the success or failure of the processing. |
void |
requestStarted(int serverID,
com.sap.jdsr.writer.DsrIPassport passport,
java.lang.String function_name)
JCo will call this method whenever it receives a request that comes along with an DSR passport. |
Method Detail |
---|
void requestStarted(int serverID, com.sap.jdsr.writer.DsrIPassport passport, java.lang.String function_name)
serverID
- an identifier for the current server as int - unique within the current JVMpassport
- the DSR passport that was passed to the JCo Server via RFCfunction_name
- the name of the function module that should be invokedvoid requestFinished(int serverID, long sendBytes, long receivedBytes)
serverID
- an identifier for the current server as int - unique within the current JVMsendBytes
- the number of bytes that were sent to the backend, if availablereceivedBytes
- the number of bytes that were received from the backend if available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |