com.sap.conn.jco.server
Interface JCoServerStateChangedListener
public interface JCoServerStateChangedListener
JCo server state change listener interface.
An application implements this interface if it wants
to know when a server changes its state.
serverStateChangeOccurred
void serverStateChangeOccurred(JCoServer server,
JCoServerState oldState,
JCoServerState newState)
- This method is called whenever a server state change occurred.
If a JCoServerStateChangedListener is added while an event is fired
to already existing listeners, it won' t be notified about this last event.
If a JCoServerStateChangedListener is removed from the list of listeners
while an event is fired, it will be notified about this last event.
- Parameters:
server
- the server for which the state has changedoldState
- the old state as it was before the changenewState
- the new state after ther change
Copyright © 2008-2014 SAP AG. All Rights Reserved.