Class V11Database
java.lang.Object
org.firebirdsql.gds.ng.AbstractFbAttachment<T>
org.firebirdsql.gds.ng.AbstractFbDatabase<WireDatabaseConnection>
org.firebirdsql.gds.ng.wire.AbstractFbWireDatabase
org.firebirdsql.gds.ng.wire.version10.V10Database
org.firebirdsql.gds.ng.wire.version11.V11Database
- All Implemented Interfaces:
AutoCloseable,FbAttachment,FbDatabase,ExceptionListenable,TransactionListener,FbWireAttachment,FbWireDatabase
- Direct Known Subclasses:
V12Database
FbWireDatabase implementation for the version 11 wire protocol.- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firebirdsql.gds.ng.wire.FbWireAttachment
FbWireAttachment.AcceptPacket -
Field Summary
Fields inherited from class org.firebirdsql.gds.ng.wire.AbstractFbWireDatabase
protocolDescriptor, wireOperationsFields inherited from class org.firebirdsql.gds.ng.AbstractFbDatabase
databaseListenerDispatcherFields inherited from class org.firebirdsql.gds.ng.AbstractFbAttachment
connection, exceptionListenerDispatcher -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedV11Database(WireDatabaseConnection connection, ProtocolDescriptor descriptor) Creates a V11Database instance. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidenqueueDeferredAction(DeferredAction deferredAction) Enqueue a deferred action.voidreleaseObject(int operation, int objectId) Release object.Methods inherited from class org.firebirdsql.gds.ng.wire.version10.V10Database
afterAttachActions, attach, attachOrCreate, authReceiveResponse, cancelOperation, createDatabase, createStatement, doReleaseObjectPacket, dropDatabase, executeImmediate, getBlrCalculator, getDatabaseInfo, getFilenameEncoding, getHandle, getTransactionIdBuffer, initAsynchronousChannel, internalDetach, processAttachOrCreateResponse, processReleaseObjectResponse, reconnectTransaction, sendAttachOrCreateToBuffer, startTransactionMethods inherited from class org.firebirdsql.gds.ng.wire.AbstractFbWireDatabase
cancelEvent, checkAttached, checkConnected, closeConnection, consumePackets, countEvents, createBlobForInput, createBlobForOutput, createEventHandle, finalize, forceClose, getXdrIn, getXdrOut, getXdrStreamAccess, isAttached, queueEvent, readGenericResponse, readResponse, readSqlResponse, setNetworkTimeoutMethods inherited from class org.firebirdsql.gds.ng.AbstractFbDatabase
addDatabaseListener, addWeakDatabaseListener, close, createBlobParameterBuffer, createTransactionParameterBuffer, emptyRowDescriptor, getActiveTransactionCount, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getDatabaseInformationProcessor, getDatabaseWarningCallback, getDescribeDatabaseInfoBlock, getOdsMajor, getOdsMinor, getParameterDescriptionInfoRequestItems, getStatementInfoRequestItems, removeDatabaseListener, setDatabaseDialect, setOdsMajor, setOdsMinor, transactionAdded, transactionStateChangedMethods inherited from class org.firebirdsql.gds.ng.AbstractFbAttachment
addExceptionListener, getDatatypeCoder, getEncoding, getEncodingFactory, getNetworkTimeout, getServerVersion, getServerVersionInformation, getSynchronizationObject, removeExceptionListener, safelyDetach, setAttached, setDetached, setServerVersionMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.firebirdsql.gds.ng.listeners.ExceptionListenable
addExceptionListener, removeExceptionListenerMethods inherited from interface org.firebirdsql.gds.ng.FbAttachment
close, forceClose, getDatatypeCoder, getEncoding, getEncodingFactory, getNetworkTimeout, getServerVersion, getSynchronizationObject, isAttached, setNetworkTimeoutMethods inherited from interface org.firebirdsql.gds.ng.FbDatabase
addDatabaseListener, addWeakDatabaseListener, cancelEvent, countEvents, createBlobForInput, createBlobForOutput, createBlobParameterBuffer, createEventHandle, createTransactionParameterBuffer, emptyRowDescriptor, getConnectionDialect, getConnectionProperties, getDatabaseDialect, getDatabaseInfo, getOdsMajor, getOdsMinor, queueEvent, removeDatabaseListenerMethods inherited from interface org.firebirdsql.gds.ng.wire.FbWireAttachment
getXdrStreamAccess, readGenericResponseMethods inherited from interface org.firebirdsql.gds.ng.wire.FbWireDatabase
consumePackets, readResponse, readSqlResponse
-
Constructor Details
-
V11Database
Creates a V11Database instance.- Parameters:
connection- A WireConnection with an established connection to the server.descriptor- The ProtocolDescriptor that created this connection (this is used for creating further dependent objects).
-
-
Method Details
-
enqueueDeferredAction
Description copied from interface:FbWireDatabaseEnqueue a deferred action.FbDatabase implementations that do not support deferred actions are allowed to throw an
UnsupportedOperationException- Specified by:
enqueueDeferredActionin interfaceFbWireDatabase- Overrides:
enqueueDeferredActionin classV10Database- Parameters:
deferredAction- Deferred action
-
releaseObject
Description copied from interface:FbWireDatabaseRelease object.- Specified by:
releaseObjectin interfaceFbWireDatabase- Overrides:
releaseObjectin classV10Database- Parameters:
operation- OperationobjectId- Id of the object to release- Throws:
SQLException
-