|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.di.connector.sapr3.aleidoc.SapIDocServerListener
public class SapIDocServerListener
Implementation of JCo.Server listeners for internal middleware exceptions, errors, state changes and trace messages.
Constructor Summary | |
---|---|
SapIDocServerListener(SapALEIDocConnector conn)
Only available constructor. |
Method Summary | |
---|---|
void |
serverErrorOccurred(com.sap.mw.jco.JCO.Server srvr,
java.lang.Error error)
Overridden method of JCoIDoc.ServerErrorListener. |
void |
serverExceptionOccurred(com.sap.mw.jco.JCO.Server srvr,
java.lang.Exception ex)
Overridden method of JCoIDoc.ServerExceptionListener. |
void |
serverStateChangeOccurred(com.sap.mw.jco.JCO.Server srvr,
int old_state,
int new_state)
Overridden method of JCoIDoc.ServerStateChangedListener Listens for JCo Server state changes. |
void |
trace(int trcLevel,
java.lang.String trcMessage)
Overridden method of JCoIDoc.TraceListener Listens for JCo Server internal trace messages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SapIDocServerListener(SapALEIDocConnector conn)
conn
- -
The Connector providing the log and trace mechanisims.Method Detail |
---|
public void serverExceptionOccurred(com.sap.mw.jco.JCO.Server srvr, java.lang.Exception ex)
serverExceptionOccurred
in interface com.sap.mw.jco.JCO.ServerExceptionListener
srvr
- -
The JCo Server who throw the exception.ex
- -
The internal JCo exception.public void serverErrorOccurred(com.sap.mw.jco.JCO.Server srvr, java.lang.Error error)
serverErrorOccurred
in interface com.sap.mw.jco.JCO.ServerErrorListener
srvr
- -
The JCo Server who throw the exception.error
- -
The internal JCo error message.public void serverStateChangeOccurred(com.sap.mw.jco.JCO.Server srvr, int old_state, int new_state)
serverStateChangeOccurred
in interface com.sap.mw.jco.JCO.ServerStateChangedListener
srvr
- -
The JCo Server who throw the exception.old_state
- -
The previous Server state.new_state
- -
The new Server state.public void trace(int trcLevel, java.lang.String trcMessage)
trace
in interface com.sap.mw.jco.JCO.TraceListener
trcLevel
- -
The trace level.trcMessage
- -
The trace message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |