com.sap.mw.jco
Interface JCO.ServerStateChangedListener

Enclosing class:
JCO

public static interface JCO.ServerStateChangedListener

JCO server state change listener interface. An application implements this interface if it wants to know when a server changes its state. In general, a server's state is indicated by a bit vector where the bits have the following meaning:
Flag Description
JCO.STATE_STOPPED The server has been stopped
JCO.STATE_STARTED The server has been started
JCO.STATE_SUSPENDED The server has been temporarily suspended
JCO.STATE_LISTENING The server is listening for incoming requests
JCO.STATE_BUSY The server's is currently processing an incoming request
JCO.STATE_TRANSACTIONThe incoming request is a transaction


Method Summary
 void serverStateChangeOccurred(JCO.Server server, int old_state, int new_state)
          Called when a server state changed occured
 

Method Detail

serverStateChangeOccurred

public void serverStateChangeOccurred(JCO.Server server,
                                      int old_state,
                                      int new_state)
Called when a server state changed occured
Parameters:
server - the server that has changed its state
old_state - the old state as a bit vector
new_state - the new state as a bit vector