Class V10WireOperations
java.lang.Object
org.firebirdsql.gds.ng.wire.AbstractWireOperations
org.firebirdsql.gds.ng.wire.version10.V10WireOperations
- All Implemented Interfaces:
FbWireOperations
- Direct Known Subclasses:
V11WireOperations
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firebirdsql.gds.ng.wire.FbWireOperations
FbWireOperations.ProcessAttachCallback -
Constructor Summary
ConstructorsConstructorDescriptionV10WireOperations(WireConnection<?, ?> connection, WarningMessageCallback defaultWarningMessageCallback, Object syncObject) -
Method Summary
Modifier and TypeMethodDescriptionvoidauthReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket, DbCryptCallback dbCryptCallback, FbWireOperations.ProcessAttachCallback processAttachCallback) Receive authentication response from the server.voidenqueueDeferredAction(DeferredAction deferredAction) Enqueue a deferred action.voidProcesses any deferred actions.Methods inherited from class org.firebirdsql.gds.ng.wire.AbstractWireOperations
addServerKeys, clearServerKeys, consumePackets, getAttachProperties, getClientAuthBlock, getConnection, getDefaultWarningMessageCallback, getEncoding, getEncryptionIdentifiers, getSynchronizationObject, getXdrIn, getXdrOut, getXdrStreamAccess, handleCryptKeyCallback, processOperation, processResponse, processResponseWarnings, readGenericResponse, readNextOperation, readOperationResponse, readResponse, readSingleResponse, readSqlResponse, readStatusVector, setNetworkTimeout, writeDirect
-
Constructor Details
-
V10WireOperations
public V10WireOperations(WireConnection<?, ?> connection, WarningMessageCallback defaultWarningMessageCallback, Object syncObject)
-
-
Method Details
-
enqueueDeferredAction
Description copied from interface:FbWireOperationsEnqueue a deferred action.FbDatabase implementations that do not support deferred actions are allowed to throw an
UnsupportedOperationException- Parameters:
deferredAction- Deferred action
-
processDeferredActions
public void processDeferredActions()Description copied from interface:FbWireOperationsProcesses any deferred actions. Protocol versions that do not support deferred actions should simply do nothing. -
authReceiveResponse
public void authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket, DbCryptCallback dbCryptCallback, FbWireOperations.ProcessAttachCallback processAttachCallback) throws IOException, SQLException Description copied from interface:FbWireOperationsReceive authentication response from the server.This method is only relevant for protocol V13 or higher.
- Parameters:
acceptPacket- Packet withop_cond_acceptdata, ornullwhen the data should be read from the connection.dbCryptCallback- Database encryption callback (ignored by protocols v12 and lower)processAttachCallback- Callback for processing the final attach response- Throws:
IOException- For errors reading the response from the connection.SQLException- For errors returned from the server, or when attempting to read.
-