|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.commons.protocols.ProtocolConfiguration
Endpoint
to manage protocol's configuration.
@Deprecated public abstract class ProtocolConfiguration
Protocol Manager Application Block is deprecated.
ClientConnectionOptions
,
ClientADDPOptions
,
PropertyConfiguration
,
KeyValueConfiguration
,
Endpoint
,
WarmStandbyConfiguration
,
ClientConfigurationHelper
Constructor Summary | |
---|---|
protected |
ProtocolConfiguration(java.lang.String name,
java.lang.Class protocolType)
Deprecated. |
Method Summary | |
---|---|
java.lang.Integer |
getAddpClientTimeout()
Deprecated. |
java.lang.Integer |
getAddpServerTimeout()
Deprecated. |
java.lang.String |
getAddpTrace()
Deprecated. |
javax.net.ssl.SSLContext |
getBackupSSLContext()
Deprecated. |
SSLExtendedOptions |
getBackupSSLOptions()
Deprecated. |
FaultToleranceMode |
getFaultTolerance()
Deprecated. |
java.lang.String |
getLocalBindingHost()
Deprecated. |
java.lang.Integer |
getLocalBindingPort()
Deprecated. |
java.lang.String |
getName()
Deprecated. |
javax.net.ssl.SSLContext |
getPrimarySSLContext()
Deprecated. |
SSLExtendedOptions |
getPrimarySSLOptions()
Deprecated. |
protected java.lang.Class |
getProtocolType()
Deprecated. |
java.net.URI |
getUri()
Deprecated. |
java.lang.Short |
getWarmStandbyAttempts()
Deprecated. Get the number of reconnection attempts for Warm Standby. |
java.lang.Short |
getWarmStandbySwitchovers()
Deprecated. Get the number of primary/backup switchovers for Warm Standby. |
java.lang.Integer |
getWarmStandbyTimeout()
Deprecated. Get the timeout (in milliseconds) between the reconnection attempts for Warm Standby. |
java.net.URI |
getWarmStandbyUri()
Deprecated. Get the standby URI for Warm Standby. |
java.lang.Boolean |
isBackupTLSEnabled()
Deprecated. |
java.lang.Boolean |
isPrimaryTLSEnabled()
Deprecated. |
java.lang.Boolean |
isUseAddp()
Deprecated. |
java.lang.Boolean |
isUseTls()
Deprecated. TLS is configured separately with SSLContext and SSLEngine |
void |
setAddpClientTimeout(java.lang.Integer value)
Deprecated. |
void |
setAddpServerTimeout(java.lang.Integer value)
Deprecated. |
void |
setAddpTrace(java.lang.String value)
Deprecated. |
void |
setBackupSSLContext(javax.net.ssl.SSLContext backupSSLContext)
Deprecated. Sets SSLContext instance to be used for warm standby backup connection. |
void |
setBackupSSLOptions(SSLExtendedOptions backupSSLOptions)
Deprecated. Sets additional SSL parameters for warm standby backup connection. |
void |
setBackupTLSEnabled(java.lang.Boolean backupTLSEnabled)
Deprecated. Allows/disables immediate TLS turning on upon connection to backup server. |
void |
setFaultTolerance(FaultToleranceMode value)
Deprecated. |
void |
setLocalBindingHost(java.lang.String localBindingHost)
Deprecated. |
void |
setLocalBindingPort(java.lang.Integer localBindingPort)
Deprecated. |
void |
setName(java.lang.String value)
Deprecated. |
void |
setPrimarySSLContext(javax.net.ssl.SSLContext primarySSLContext)
Deprecated. Sets SSLContext instance for default server connection and/or warm standby
primary connection. |
void |
setPrimarySSLOptions(SSLExtendedOptions primarySSLOptions)
Deprecated. Sets additional SSL parameters for default server connection and/or warm standby primary connection. |
void |
setPrimaryTLSEnabled(java.lang.Boolean primaryTLSEnabled)
Deprecated. Allows/disables immediate TLS turning on upon connection to primary server. |
void |
setUri(java.lang.String host,
int port)
Deprecated. |
void |
setUri(java.net.URI value)
Deprecated. |
void |
setUseAddp(java.lang.Boolean value)
Deprecated. |
void |
setUseTls(java.lang.Boolean useTls)
Deprecated. TLS is configured separately with SSLContext and SSLEngine |
void |
setWarmStandbyAttempts(java.lang.Short value)
Deprecated. Set the number of reconnection attempts for Warm Standby. |
void |
setWarmStandbySwitchovers(java.lang.Short value)
Deprecated. Set the number of primary/backup switchovers for Warm Standby. |
void |
setWarmStandbyTimeout(java.lang.Integer value)
Deprecated. Set the new timeout value (in milliseconds) between the reconnection attempts for Warm Standby. |
void |
setWarmStandbyUri(java.lang.String host,
int port)
Deprecated. Set the standby URI for Warm Standby, using the host and port as parameters. |
void |
setWarmStandbyUri(java.net.URI value)
Deprecated. Set the standby URI for Warm Standby. |
java.lang.String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ProtocolConfiguration(java.lang.String name, java.lang.Class protocolType)
Method Detail |
---|
protected final java.lang.Class getProtocolType()
public final java.lang.String getName()
public final void setName(java.lang.String value)
public final java.net.URI getUri()
public final void setUri(java.net.URI value)
public final void setUri(java.lang.String host, int port)
public final java.net.URI getWarmStandbyUri()
public final void setWarmStandbyUri(java.net.URI value)
value
- URI for the standby endpointpublic final void setWarmStandbyUri(java.lang.String host, int port)
host
- host for the standby URIport
- port number for the standby URIpublic final java.lang.Short getWarmStandbyAttempts()
public final void setWarmStandbyAttempts(java.lang.Short value)
value
- the maximum number of reconnection attemptspublic final java.lang.Short getWarmStandbySwitchovers()
public final void setWarmStandbySwitchovers(java.lang.Short value)
value
- the number of allowed primary/backup switchoverspublic final java.lang.Integer getWarmStandbyTimeout()
public final void setWarmStandbyTimeout(java.lang.Integer value)
value
- the new timeout value (in milliseconds)public final java.lang.Integer getAddpClientTimeout()
public final void setAddpClientTimeout(java.lang.Integer value)
public final java.lang.Integer getAddpServerTimeout()
public final void setAddpServerTimeout(java.lang.Integer value)
public final java.lang.Boolean isUseAddp()
public final void setUseAddp(java.lang.Boolean value)
public final java.lang.String getAddpTrace()
public final void setAddpTrace(java.lang.String value)
public final FaultToleranceMode getFaultTolerance()
public final void setFaultTolerance(FaultToleranceMode value)
@Deprecated public java.lang.Boolean isUseTls()
true
if both primaryTLSEnabled
and backupTLSEnabled
are set to true
;
false
otherwise.SSLContextHelper
,
AbstractChannel.connectionContext()
,
ConnectionContext
,
ConnectionContext.setAttribute(String, Object)
,
ConnectionContext.SSL_CONTEXT_KEY
@Deprecated public void setUseTls(java.lang.Boolean useTls)
useTls
to both primaryTLSEnabled
and backupTLSEnabled
.
SSLContextHelper
,
AbstractChannel.connectionContext()
,
ConnectionContext
,
ConnectionContext.setAttribute(String, Object)
,
ConnectionContext.SSL_CONTEXT_KEY
public java.lang.String getLocalBindingHost()
public void setLocalBindingHost(java.lang.String localBindingHost)
public java.lang.Integer getLocalBindingPort()
public void setLocalBindingPort(java.lang.Integer localBindingPort)
public java.lang.Boolean isPrimaryTLSEnabled()
public void setPrimaryTLSEnabled(java.lang.Boolean primaryTLSEnabled)
primaryTLSEnabled
- If true
, TLS will be immediately turned on upon connection.
If false
, TLS is not turned on by default, but
can be turned on if autodetect feature is used.setFaultTolerance(FaultToleranceMode)
,
setUri(java.net.URI)
,
setUri(String, int)
public javax.net.ssl.SSLContext getPrimarySSLContext()
public void setPrimarySSLContext(javax.net.ssl.SSLContext primarySSLContext)
SSLContext
instance for default server connection and/or warm standby
primary connection.
primarySSLContext
- SSLContext
to use for connection.setFaultTolerance(FaultToleranceMode)
,
setUri(java.net.URI)
,
setUri(String, int)
public SSLExtendedOptions getPrimarySSLOptions()
public void setPrimarySSLOptions(SSLExtendedOptions primarySSLOptions)
primarySSLOptions
- SSLExtendedOptions to use for connection.setFaultTolerance(FaultToleranceMode)
,
setUri(java.net.URI)
,
setUri(String, int)
public java.lang.Boolean isBackupTLSEnabled()
public void setBackupTLSEnabled(java.lang.Boolean backupTLSEnabled)
backupTLSEnabled
- If true
, TLS will be immediately turned on upon connection.
If false
, TLS is not turned on by default, but
can be turned on if autodetect feature is used.setFaultTolerance(FaultToleranceMode)
,
setWarmStandbyUri(java.net.URI)
,
setWarmStandbyUri(String, int)
public javax.net.ssl.SSLContext getBackupSSLContext()
public void setBackupSSLContext(javax.net.ssl.SSLContext backupSSLContext)
SSLContext
instance to be used for warm standby backup connection.
backupSSLContext
- SSLContext
to use for backup connection.setFaultTolerance(FaultToleranceMode)
,
setWarmStandbyUri(java.net.URI)
,
setWarmStandbyUri(String, int)
public SSLExtendedOptions getBackupSSLOptions()
public void setBackupSSLOptions(SSLExtendedOptions backupSSLOptions)
backupSSLOptions
- SSLExtendedOptions to use for backup connection.setFaultTolerance(FaultToleranceMode)
,
setWarmStandbyUri(java.net.URI)
,
setWarmStandbyUri(String, int)
public java.lang.String toString()
toString
in class java.lang.Object
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |