public interface FbWireAttachment extends FbAttachment
Modifier and Type | Interface and Description |
---|---|
static class |
FbWireAttachment.AcceptPacket
Struct-like class, reduced equivalent of Firebird p_acpd so we can store data for handling op_cond_accept.
|
Modifier and Type | Method and Description |
---|---|
void |
authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket)
Receive authentication response from the server.
|
XdrStreamAccess |
getXdrStreamAccess() |
GenericResponse |
readGenericResponse(WarningMessageCallback callback)
Convenience method to read a Response to a GenericResponse
|
attach, close, getDatatypeCoder, getEncoding, getEncodingFactory, getHandle, getServerVersion, getSynchronizationObject, isAttached
addExceptionListener, removeExceptionListener
XdrStreamAccess getXdrStreamAccess()
XdrStreamAccess
for this attachment.GenericResponse readGenericResponse(WarningMessageCallback callback) throws java.sql.SQLException, java.io.IOException
callback
- Callback object for warnings, null
for default callbackjava.sql.SQLException
- For errors returned from the server, or when attempting to
read.java.io.IOException
- For errors reading the response from the connection.void authReceiveResponse(FbWireAttachment.AcceptPacket acceptPacket) throws java.io.IOException, java.sql.SQLException
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.java.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.