public final class Version11Descriptor extends AbstractProtocolDescriptor implements ProtocolDescriptor
ProtocolDescriptor
for the Firebird version 11 protocol. This version
applies to Firebird 2.1, but also works with newer Firebird versions.Constructor and Description |
---|
Version11Descriptor() |
createAttachServiceParameterBuffer, createDatabaseParameterBuffer, equals, getArchitecture, getMaximumType, getMinimumType, getVersion, getWeight, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
createAttachServiceParameterBuffer, createDatabaseParameterBuffer, getArchitecture, getMaximumType, getMinimumType, getVersion, getWeight
public FbWireDatabase createDatabase(WireDatabaseConnection connection)
ProtocolDescriptor
FbWireDatabase
implementation for this protocol.createDatabase
in interface ProtocolDescriptor
connection
- WireDatabaseConnection to this databasepublic FbWireService createService(WireServiceConnection connection)
ProtocolDescriptor
FbWireService
implementation for this protocol.createService
in interface ProtocolDescriptor
connection
- WireServiceConnection to this servicepublic ServiceParameterBuffer createServiceParameterBuffer(WireServiceConnection connection)
ProtocolDescriptor
ServiceParameterBuffer
.createServiceParameterBuffer
in interface ProtocolDescriptor
connection
- Connectionpublic ServiceRequestBuffer createServiceRequestBuffer(WireServiceConnection connection)
createServiceRequestBuffer
in interface ProtocolDescriptor
public FbWireTransaction createTransaction(FbWireDatabase database, int transactionHandle, TransactionState initialState)
ProtocolDescriptor
FbTransaction
implementation for this protocol.createTransaction
in interface ProtocolDescriptor
database
- FbWireDatabase of the current databasetransactionHandle
- Transaction handleinitialState
- Initial transaction state (either TransactionState.ACTIVE
or TransactionState.PREPARED
).public FbWireStatement createStatement(FbWireDatabase database)
ProtocolDescriptor
FbStatement
implementation for this protocol.createStatement
in interface ProtocolDescriptor
database
- FbWireDatabase of the current databasepublic BlrCalculator createBlrCalculator(FbWireDatabase database)
ProtocolDescriptor
BlrCalculator
implementation for this protocol version.createBlrCalculator
in interface ProtocolDescriptor
database
- FbWireDatabase of the current databasepublic FbWireBlob createOutputBlob(FbWireDatabase database, FbWireTransaction transaction, BlobParameterBuffer blobParameterBuffer)
ProtocolDescriptor
FbWireBlob
implementation for this protocol version.createOutputBlob
in interface ProtocolDescriptor
database
- FbWireDatabase of the current databasetransaction
- FbWireTransaction to associate with the blobblobParameterBuffer
- Blob Parameter Bufferpublic FbWireBlob createInputBlob(FbWireDatabase database, FbWireTransaction transaction, BlobParameterBuffer blobParameterBuffer, long blobId)
ProtocolDescriptor
FbWireBlob
implementation for this protocol version.createInputBlob
in interface ProtocolDescriptor
database
- FbWireDatabase of the current databasetransaction
- FbWireTransaction to associate with the blobblobParameterBuffer
- Blob Parameter BufferblobId
- Blob Id (must be non-zero for input blob)public FbWireAsynchronousChannel createAsynchronousChannel(FbWireDatabase database)
ProtocolDescriptor
createAsynchronousChannel
in interface ProtocolDescriptor
database
- The parent database handle.protected ParameterConverter<WireDatabaseConnection,WireServiceConnection> getParameterConverter()
getParameterConverter
in class AbstractProtocolDescriptor
ParameterConverter
for populating the database parameter buffer.public FbWireOperations createWireOperations(WireConnection<?,?> connection, WarningMessageCallback defaultWarningMessageCallback, java.lang.Object syncObject)
ProtocolDescriptor
FbWireOperations
implementation for this protocol version.createWireOperations
in interface ProtocolDescriptor
connection
- WireConnection instancedefaultWarningMessageCallback
- Default warning message callbacksyncObject
- Object to use for synchronizationCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.