Package org.firebirdsql.gds.ng
Interface IAttachProperties<T extends IAttachProperties<T>>
- 
- All Superinterfaces:
- AttachmentProperties,- BaseProperties
 - All Known Subinterfaces:
- IConnectionProperties,- IServiceProperties
 - All Known Implementing Classes:
- AbstractAttachProperties,- AbstractImmutableAttachProperties,- FbConnectionProperties,- FbImmutableConnectionProperties,- FbImmutableServiceProperties,- FbServiceProperties
 
 public interface IAttachProperties<T extends IAttachProperties<T>> extends AttachmentProperties Common properties for database and service attach.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_CONNECT_TIMEOUTstatic intDEFAULT_SO_TIMEOUTstatic intDEFAULT_SOCKET_BUFFER_SIZE
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TasImmutable()TasNewMutable()default java.lang.StringgetAttachObjectName()default WireCryptgetWireCryptAsEnum()booleanisImmutable()default voidsetAttachObjectName(java.lang.String attachObjectName)Sets the attach object name.default voidsetWireCryptAsEnum(WireCrypt wireCrypt)Set the wire encryption level.- 
Methods inherited from interface org.firebirdsql.jaybird.props.AttachmentPropertiesgetAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCrypt
 - 
Methods inherited from interface org.firebirdsql.jaybird.props.BasePropertiesconnectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_SOCKET_BUFFER_SIZEstatic final int DEFAULT_SOCKET_BUFFER_SIZE - See Also:
- Constant Field Values
 
 - 
DEFAULT_SO_TIMEOUTstatic final int DEFAULT_SO_TIMEOUT - See Also:
- Constant Field Values
 
 - 
DEFAULT_CONNECT_TIMEOUTstatic final int DEFAULT_CONNECT_TIMEOUT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getAttachObjectNamedefault java.lang.String getAttachObjectName() - Returns:
- The name of the object to attach to (either a database or service name).
- See Also:
- setAttachObjectName(String)
 
 - 
setAttachObjectNamedefault void setAttachObjectName(java.lang.String attachObjectName) Sets the attach object name.For more information, see DatabaseConnectionProperties.setDatabaseName(String)andServiceConnectionProperties.setServiceName(String).- Parameters:
- attachObjectName- Database attach object name
 
 - 
getWireCryptAsEnumdefault WireCrypt getWireCryptAsEnum() - Returns:
- The value of AttachmentProperties.getWireCrypt()as an instance ofWireCrypt.
- Since:
- 5
- See Also:
- AttachmentProperties.getWireCrypt()
 
 - 
setWireCryptAsEnumdefault void setWireCryptAsEnum(WireCrypt wireCrypt) Set the wire encryption level.- Parameters:
- wireCrypt- Wire encryption level (- nullnot allowed)
- Since:
- 5
- See Also:
- AttachmentProperties.setWireCrypt(String)
 
 - 
asImmutableT asImmutable() - Returns:
- An immutable version of this instance as an implementation of IAttachProperties
 
 - 
asNewMutableT asNewMutable() - Returns:
- A new, mutable, instance as an implementation of IAttachPropertieswith all properties copied.
 
 - 
isImmutableboolean isImmutable() - Returns:
- trueif this is an immutable implementation,- falseif mutable
- Since:
- 5
 
 
- 
 
-