T
- Type of attach propertiesC
- Type of connection handlepublic abstract class AbstractConnection<T extends IAttachProperties<T>,C extends FbAttachment>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected T |
attachProperties |
Modifier | Constructor and Description |
---|---|
protected |
AbstractConnection(T attachProperties,
IEncodingFactory encodingFactory) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttachObjectName() |
T |
getAttachProperties() |
Encoding |
getEncoding() |
EncodingDefinition |
getEncodingDefinition() |
IEncodingFactory |
getEncodingFactory() |
int |
getPortNumber() |
java.lang.String |
getServerName() |
abstract C |
identify()
Performs the connection identification phase of the protocol and returns the connection handle implementation
for the agreed protocol.
|
protected final T extends IAttachProperties<T> attachProperties
protected AbstractConnection(T attachProperties, IEncodingFactory encodingFactory) throws java.sql.SQLException
java.sql.SQLException
public abstract C identify() throws java.sql.SQLException
FbDatabase
or FbService
)java.sql.SQLException
public final java.lang.String getServerName()
public final int getPortNumber()
public final java.lang.String getAttachObjectName()
public final T getAttachProperties()
public final EncodingDefinition getEncodingDefinition()
public final Encoding getEncoding()
public final IEncodingFactory getEncodingFactory()
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.