borland Packages  Class Hierarchy  datastore.jdbc Package 

ServerStatusEvent class

java.lang.Object
   +----java.util.EventObject
           +----com.borland.jb.util.DispatchableEvent
                   +----com.borland.datastore.jdbc.ServerStatusEvent

About the ServerStatusEvent class

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.


ServerStatusEvent variables

Variables implemented in java.util.EventObject

ServerStatusEvent properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in com.borland.jb.util.DispatchableEvent

Properties implemented in java.lang.Object

Properties implemented in java.util.EventObject

ServerStatusEvent methods

Methods implemented in this class

Methods implemented in com.borland.jb.util.DispatchableEvent

Methods implemented in java.lang.Object


ServerStatusEvent properties

error

 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.

serverConnection

 public final ServerConnection getServerConnection()
ServerConnection that is the source of this event, or null if the source is the DataStoreServer.

statusCode

 public final int getStatusCode()
The type of event, one of the ServerStatus variables.

ServerStatusEvent methods

dispatch(java.util.EventListener)

  public void dispatch(EventListener listener)

Overrides: com.borland.jb.util.DispatchableEvent.dispatch(java.util.EventListener)