public interface DatabaseCallBack
Modifier and Type | Method and Description |
---|---|
void |
databaseEvent(int event_type,
String event_message)
Called when the database has generated an event that this user is
listening for.
|
void databaseEvent(int event_type, String event_message)
NOTE: The thread that calls back these events is always a volatile thread that may not block. It is especially important that no queries are executed when this calls back. To safely act on events, it is advisable to dispatch onto another thread such as the SwingEventDispatcher thread.
Copyright © 2015. All rights reserved.