|
SQLFire 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EventCallback
Interface used by implementations of the "CLASSNAME" given in "SYS.ADD_LISTENER" and "SYS.ATTACH_WRITER" procedures.
| Method Summary | |
|---|---|
void |
close()
Any cleanup required when the callback is destroyed should be done here. |
void |
init(String initStr)
Initialize this callback with parameters provided in the form of given string. |
void |
onEvent(Event event)
This method is invoked when the callback is fired on a table event. |
| Method Detail |
|---|
void onEvent(Event event)
throws SQLException
event - a Event object that provides details of the event
including the old row, update row etc.
SQLException - On failure. If an exception is thrown in a writer then the
current update is aborted. If an exception is thrown in a
listener then the update goes through but exception is
propagated back to the originating node.
void close()
throws SQLException
SQLException - on error
void init(String initStr)
throws SQLException
initStr - String used to initialize this callback
SQLException - on an error during initialization
|
SQLFire 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||