public class V13WireOperations extends V11WireOperations
FbWireOperations.ProcessAttachCallback| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHA_CHA_PLUGIN_SPI_CLASS_NAME |
| Constructor and Description |
|---|
V13WireOperations(WireConnection<?,?> connection,
WarningMessageCallback defaultWarningMessageCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket,
DbCryptCallback dbCryptCallback,
FbWireOperations.ProcessAttachCallback processAttachCallback)
Receive authentication response from the server.
|
protected void |
enableEncryption(EncryptionInitInfo encryptionInitInfo) |
void |
handleCryptKeyCallback(DbCryptCallback dbCryptCallback)
Handles the database encryption key callback.
|
protected DbCryptData |
readCryptKeyCallback()
Reads the database encryption callback data from the connection.
|
protected void |
writeCryptKeyCallback(DbCryptData clientPluginResponse)
Writes the database encryption callback response data to the connection.
|
enqueueDeferredAction, processDeferredActionsaddServerKeys, clearServerKeys, consumePackets, getAttachProperties, getClientAuthBlock, getConnection, getDefaultWarningMessageCallback, getEncoding, getPluginSpecificData, getXdrIn, getXdrOut, getXdrStreamAccess, processOperation, processResponse, processResponseWarnings, readBatchCompletionResponse, readGenericResponse, readNextOperation, readOperationResponse, readResponse, readSqlResponse, readStatusVector, readStatusVector, setNetworkTimeout, withLock, writeDirectpublic static final java.lang.String CHA_CHA_PLUGIN_SPI_CLASS_NAME
public V13WireOperations(WireConnection<?,?> connection, WarningMessageCallback defaultWarningMessageCallback)
public void authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket, DbCryptCallback dbCryptCallback, FbWireOperations.ProcessAttachCallback processAttachCallback) throws java.sql.SQLException, java.io.IOException
FbWireOperationsThis method is only relevant for protocol V13 or higher.
authReceiveResponse in interface FbWireOperationsauthReceiveResponse in class V10WireOperationsacceptPacket - 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.sql.SQLException - For errors returned from the server, or when attempting to
read.java.io.IOException - For errors reading the response from the connection.protected void enableEncryption(EncryptionInitInfo encryptionInitInfo) throws java.sql.SQLException, java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionpublic final void handleCryptKeyCallback(DbCryptCallback dbCryptCallback) throws java.io.IOException, java.sql.SQLException
FbWireOperationshandleCryptKeyCallback in interface FbWireOperationshandleCryptKeyCallback in class AbstractWireOperationsdbCryptCallback - Database encryption callback pluginjava.io.IOException - For errors reading data from the socketjava.sql.SQLException - For database errorsjava.sql.SQLFeatureNotSupportedException - If this protocol version does not support crypt key callbacksprotected DbCryptData readCryptKeyCallback() throws java.io.IOException, java.sql.SQLException
java.io.IOException - For errors reading data from the socketjava.sql.SQLException - For database errorsprotected void writeCryptKeyCallback(DbCryptData clientPluginResponse) throws java.sql.SQLException, java.io.IOException
clientPluginResponse - Database encryption callback response data to be sent to the serverjava.io.IOException - For errors reading data from the socketjava.sql.SQLException - For database errorsCopyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.