public class V10WireOperations extends AbstractWireOperations
FbWireOperations.ProcessAttachCallback
Constructor and Description |
---|
V10WireOperations(WireConnection<?,?> connection,
WarningMessageCallback defaultWarningMessageCallback,
java.lang.Object syncObject) |
Modifier and Type | Method and Description |
---|---|
void |
authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket,
DbCryptCallback dbCryptCallback,
FbWireOperations.ProcessAttachCallback processAttachCallback)
Receive authentication response from the server.
|
void |
enqueueDeferredAction(DeferredAction deferredAction)
Enqueue a deferred action.
|
void |
processDeferredActions()
Processes any deferred actions.
|
addServerKeys, clearServerKeys, consumePackets, getAttachProperties, getClientAuthBlock, getConnection, getDefaultWarningMessageCallback, getEncoding, getEncryptionIdentifiers, getSynchronizationObject, getXdrIn, getXdrOut, getXdrStreamAccess, processOperation, processResponse, processResponseWarnings, readGenericResponse, readNextOperation, readOperationResponse, readResponse, readSingleResponse, readSqlResponse, readStatusVector, writeDirect
public V10WireOperations(WireConnection<?,?> connection, WarningMessageCallback defaultWarningMessageCallback, java.lang.Object syncObject)
public void enqueueDeferredAction(DeferredAction deferredAction)
FbWireOperations
FbDatabase implementations that do not support deferred actions are allowed to throw an
UnsupportedOperationException
deferredAction
- Deferred actionpublic void processDeferredActions()
FbWireOperations
public void authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket, DbCryptCallback dbCryptCallback, FbWireOperations.ProcessAttachCallback processAttachCallback) throws java.io.IOException, java.sql.SQLException
FbWireOperations
This method is only relevant for protocol V13 or higher.
acceptPacket
- Packet with op_cond_accept
data, or null
when 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 responsejava.io.IOException
- For errors reading the response from the connection.java.sql.SQLException
- For errors returned from the server, or when attempting to
read.Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.