borland Packages Class Hierarchy datastore.jdbc Package
java.lang.Object +----java.util.EventObject +----com.borland.jb.util.DispatchableEvent +----com.borland.datastore.jdbc.ServerStatusEvent
Variables Properties Methods
Implements Serializable
ServerStatusEvent represents a status change or error in DataStoreServer or one of its connections. It is reported to all ServerStatusListener objects that register with the DataStoreServer.
public final Throwable getError()If the event is due to an error, this method returns that error. If the event is not an error, this method returns null.
public final ServerConnection getServerConnection()ServerConnection that is the source of this event, or null if the source is the DataStoreServer.
public final int getStatusCode()The type of event, one of the ServerStatus variables.
public void dispatch(EventListener listener)