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, wait
getEventId
protected AbstractEventHandle(java.lang.String eventName, EventHandler eventHandler)
public final java.lang.String getEventName()
EventHandle
getEventName
in interface EventHandle
protected void setEventCount(int eventCount)
eventCount
- The event countpublic final int getEventCount()
EventHandle
getEventCount
in interface EventHandle
protected final void onEventOccurred()
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.