Package org.firebirdsql.gds.ng.jna
Class JnaEventHandle
- java.lang.Object
- 
- org.firebirdsql.gds.ng.AbstractEventHandle
- 
- org.firebirdsql.gds.ng.jna.JnaEventHandle
 
 
- 
- All Implemented Interfaces:
- EventHandle
 
 public final class JnaEventHandle extends AbstractEventHandle Event handle for the JNA protocol.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebugMemoryDump()Dumps the event buffers to the logger, if debug is enabled.protected voidfinalize()intgetEventId()Get the internal event id number for this handlevoidreleaseMemory(FbClientLibrary clientLibrary)Releases the native memory held by this event handle.protected voidsetEventCount(int eventCount)Sets the current known event count for this handle.java.lang.StringtoString()- 
Methods inherited from class org.firebirdsql.gds.ng.AbstractEventHandlegetEventCount, getEventName, onEventOccurred
 
- 
 
- 
- 
- 
Method Detail- 
setEventCountprotected void setEventCount(int eventCount) Description copied from class:AbstractEventHandleSets the current known event count for this handle.- Overrides:
- setEventCountin class- AbstractEventHandle
- Parameters:
- eventCount- The event count
 
 - 
getEventIdpublic int getEventId() Description copied from interface:EventHandleGet the internal event id number for this handle- Returns:
- The internal event id
 
 - 
debugMemoryDumppublic void debugMemoryDump() Dumps the event buffers to the logger, if debug is enabled.
 - 
releaseMemorypublic void releaseMemory(FbClientLibrary clientLibrary) Releases the native memory held by this event handle.- Parameters:
- clientLibrary- The client library instance
 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- java.lang.Object
- Throws:
- java.lang.Throwable
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-