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 ofParameterConverterfor 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 DatabaseParameterBuffercreateDatabaseParameterBuffer(WireDatabaseConnection connection)protected ServiceParameterBuffercreateServiceParameterBuffer(WireServiceConnection connection)protected voidpopulateAuthenticationProperties(AbstractConnection<?,?> connection, ConnectionParameterBuffer pb)Populates the authentication properties of the parameter buffer.protected voidpopulateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb)Populates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.protected voidpopulateDefaultProperties(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
toDatabaseParameterBuffer, toServiceParameterBuffer
-
-
-
-
Method Detail
-
createDatabaseParameterBuffer
protected DatabaseParameterBuffer createDatabaseParameterBuffer(WireDatabaseConnection connection)
- Overrides:
createDatabaseParameterBufferin classV12ParameterConverter
-
createServiceParameterBuffer
protected ServiceParameterBuffer createServiceParameterBuffer(WireServiceConnection connection)
- Overrides:
createServiceParameterBufferin classV12ParameterConverter
-
populateDefaultProperties
protected void populateDefaultProperties(WireDatabaseConnection connection, DatabaseParameterBuffer dpb) throws java.sql.SQLException
Description copied from class:AbstractParameterConverterPopulates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.- Overrides:
populateDefaultPropertiesin 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:AbstractParameterConverterPopulates the authentication properties of the parameter buffer.- Overrides:
populateAuthenticationPropertiesin 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:AbstractParameterConverterPopulates the database parameter buffer with the standard Firebird properties explicitly supported throughIConnectionProperties.- Overrides:
populateDefaultPropertiesin classAbstractParameterConverter<WireDatabaseConnection,WireServiceConnection>- Parameters:
connection- Service connectionspb- Service parameter buffer to populate- Throws:
java.sql.SQLException- For errors generating authentication information
-
-