public class Callback extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AbstractDatabase |
db |
| Constructor and Description |
|---|
Callback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(String message)
Called when an unexpected error occur.
|
protected void |
setDb(AbstractDatabase db)
Called by Crux to bind the callback object to the database.
|
protected AbstractDatabase db
protected void setDb(AbstractDatabase db)
db - database that performed the operation handled by this callback.public void onError(String message)
message - error messageCopyright © 2015. All rights reserved.