public abstract class AbstractEventHandle extends java.lang.Object implements EventHandle
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEventHandle(java.lang.String eventName,
EventHandler eventHandler) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEventCount()
Get the count of event occurrences for the most recent occurrence(s)
of the event for which this handle is registered.
|
java.lang.String |
getEventName()
Get the name of the event for which this handle is set to listen for
|
protected void |
onEventOccurred() |
protected void |
setEventCount(int eventCount)
Sets the current known event count for this handle.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventIdprotected AbstractEventHandle(java.lang.String eventName,
EventHandler eventHandler)
public final java.lang.String getEventName()
EventHandlegetEventName in interface EventHandleprotected void setEventCount(int eventCount)
eventCount - The event countpublic final int getEventCount()
EventHandlegetEventCount in interface EventHandleprotected final void onEventOccurred()
Copyright © 2001-2023 Jaybird (Firebird JDBC/JCA) team. All rights reserved.