Class V13ParameterConverter
- java.lang.Object
-
- org.firebirdsql.gds.ng.AbstractParameterConverter<WireDatabaseConnection,WireServiceConnection>
-
- org.firebirdsql.gds.ng.wire.version10.V10ParameterConverter
-
- org.firebirdsql.gds.ng.wire.version11.V11ParameterConverter
-
- org.firebirdsql.gds.ng.wire.version12.V12ParameterConverter
-
- org.firebirdsql.gds.ng.wire.version13.V13ParameterConverter
-
- All Implemented Interfaces:
ParameterConverter<WireDatabaseConnection,WireServiceConnection>
public class V13ParameterConverter extends V12ParameterConverter
Implementation ofParameterConverter
for the version 13 protocol.Adds support for the new authentication model of the V13 protocol.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
-
Constructor Summary
Constructors Constructor Description V13ParameterConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DatabaseParameterBuffer
createDatabaseParameterBuffer(WireDatabaseConnection connection)
protected ServiceParameterBuffer
createServiceParameterBuffer(WireServiceConnection connection)
protected void
populateAuthenticationProperties(AbstractConnection connection, ConnectionParameterBuffer pb)
Populates the authentication properties of the parameter buffer.protected void
populateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb)
Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.protected void
populateDefaultProperties(WireServiceConnection connection, ServiceParameterBuffer spb)
Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.-
Methods inherited from class org.firebirdsql.gds.ng.wire.version11.V11ParameterConverter
addProcessId, addProcessName
-
Methods inherited from class org.firebirdsql.gds.ng.AbstractParameterConverter
populateNonStandardProperties, toDatabaseParameterBuffer, toServiceParameterBuffer
-
-
-
-
Method Detail
-
createDatabaseParameterBuffer
protected DatabaseParameterBuffer createDatabaseParameterBuffer(WireDatabaseConnection connection)
- Overrides:
createDatabaseParameterBuffer
in classV12ParameterConverter
-
createServiceParameterBuffer
protected ServiceParameterBuffer createServiceParameterBuffer(WireServiceConnection connection)
- Overrides:
createServiceParameterBuffer
in classV12ParameterConverter
-
populateDefaultProperties
protected void populateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) throws java.sql.SQLException
Description copied from class:AbstractParameterConverter
Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.- Overrides:
populateDefaultProperties
in classV11ParameterConverter
- Parameters:
connection
- Database connectiondpb
- Database parameter buffer to populate- Throws:
java.sql.SQLException
- For errors generating authentication information
-
populateAuthenticationProperties
protected void populateAuthenticationProperties(AbstractConnection connection, ConnectionParameterBuffer pb) throws java.sql.SQLException
Description copied from class:AbstractParameterConverter
Populates the authentication properties of the parameter buffer.- Overrides:
populateAuthenticationProperties
in classV10ParameterConverter
- Parameters:
connection
- Database connectionpb
- Parameter buffer to populate- Throws:
java.sql.SQLException
- For errors generating authentication information
-
populateDefaultProperties
protected void populateDefaultProperties(WireServiceConnection connection, ServiceParameterBuffer spb) throws java.sql.SQLException
Description copied from class:AbstractParameterConverter
Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties
.- Overrides:
populateDefaultProperties
in classAbstractParameterConverter<WireDatabaseConnection,WireServiceConnection>
- Parameters:
connection
- Service connectionspb
- Service parameter buffer to populate- Throws:
java.sql.SQLException
- For errors generating authentication information
-
-