org.jboss.messaging.core.client.impl
Class ConnectionParamsImpl

java.lang.Object
  extended by org.jboss.messaging.core.client.impl.ConnectionParamsImpl
All Implemented Interfaces:
java.io.Serializable, ConnectionParams

public class ConnectionParamsImpl
extends java.lang.Object
implements ConnectionParams

Author:
Andy Taylor
See Also:
Serialized Form

Field Summary
protected  boolean invmDisabled
           
protected  boolean invmDisabledModified
           
protected  long keepAliveInterval
           
protected  long keepAliveTimeout
           
protected  java.lang.String keyStorePassword
           
protected  java.lang.String keyStorePath
           
protected  boolean sslEnabled
           
protected  boolean sslEnabledModified
           
protected  boolean tcpNoDelay
           
protected  int tcpReceiveBufferSize
           
protected  int tcpSendBufferSize
           
protected  long timeout
           
protected  java.lang.String trustStorePassword
           
protected  java.lang.String trustStorePath
           
protected  long writeQueueBlockTimeout
           
protected  long writeQueueMaxBytes
           
protected  long writeQueueMinBytes
           
 
Fields inherited from interface org.jboss.messaging.core.client.ConnectionParams
DEFAULT_INVM_DISABLED, DEFAULT_KEEP_ALIVE_INTERVAL, DEFAULT_KEEP_ALIVE_TIMEOUT, DEFAULT_REQRES_TIMEOUT, DEFAULT_SSL_ENABLED, REMOTING_ENABLE_SSL, REMOTING_SSL_KEYSTORE_PASSWORD, REMOTING_SSL_KEYSTORE_PATH, REMOTING_SSL_TRUSTSTORE_PASSWORD, REMOTING_SSL_TRUSTSTORE_PATH
 
Constructor Summary
ConnectionParamsImpl()
           
 
Method Summary
 long getKeepAliveInterval()
           
 long getKeepAliveTimeout()
           
 java.lang.String getKeyStorePassword()
           
 java.lang.String getKeyStorePath()
           
 int getTcpReceiveBufferSize()
           
 int getTcpSendBufferSize()
           
 long getTimeout()
           
 java.lang.String getTrustStorePassword()
           
 java.lang.String getTrustStorePath()
           
 java.lang.String getURI()
           
 long getWriteQueueBlockTimeout()
           
 long getWriteQueueMaxBytes()
           
 long getWriteQueueMinBytes()
           
 boolean isInvmDisabled()
           
 boolean isInvmDisabledModified()
           
 boolean isSSLEnabled()
           
 boolean isSSLEnabledModified()
           
 boolean isTcpNoDelay()
           
 void setInvmDisabled(boolean invmDisabled)
           
 void setInvmDisabledModified(boolean invmDisabledModified)
           
 void setKeepAliveInterval(long keepAliveInterval)
           
 void setKeepAliveTimeout(long keepAliveTimeout)
           
 void setKeyStorePassword(java.lang.String keyStorePassword)
           
 void setKeyStorePath(java.lang.String keyStorePath)
           
 void setSSLEnabled(boolean sslEnabled)
           
 void setSSLEnabledModified(boolean sslEnabledModified)
           
 void setTcpNoDelay(boolean tcpNoDelay)
           
 void setTcpReceiveBufferSize(int tcpReceiveBufferSize)
           
 void setTcpSendBufferSize(int tcpSendBufferSize)
           
 void setTimeout(long timeout)
           
 void setTrustStorePassword(java.lang.String trustStorePassword)
           
 void setTrustStorePath(java.lang.String trustStorePath)
           
 void setWriteQueueBlockTimeout(long timeout)
           
 void setWriteQueueMaxBytes(long bytes)
           
 void setWriteQueueMinBytes(long bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeout

protected long timeout

keepAliveInterval

protected long keepAliveInterval

keepAliveTimeout

protected long keepAliveTimeout

invmDisabled

protected boolean invmDisabled

invmDisabledModified

protected boolean invmDisabledModified

tcpNoDelay

protected boolean tcpNoDelay

tcpReceiveBufferSize

protected int tcpReceiveBufferSize

tcpSendBufferSize

protected int tcpSendBufferSize

sslEnabled

protected boolean sslEnabled

sslEnabledModified

protected boolean sslEnabledModified

keyStorePath

protected java.lang.String keyStorePath

keyStorePassword

protected java.lang.String keyStorePassword

trustStorePath

protected java.lang.String trustStorePath

trustStorePassword

protected java.lang.String trustStorePassword

writeQueueBlockTimeout

protected long writeQueueBlockTimeout

writeQueueMinBytes

protected long writeQueueMinBytes

writeQueueMaxBytes

protected long writeQueueMaxBytes
Constructor Detail

ConnectionParamsImpl

public ConnectionParamsImpl()
Method Detail

getTimeout

public long getTimeout()
Specified by:
getTimeout in interface ConnectionParams

setTimeout

public void setTimeout(long timeout)
Specified by:
setTimeout in interface ConnectionParams

getKeepAliveInterval

public long getKeepAliveInterval()
Specified by:
getKeepAliveInterval in interface ConnectionParams

setKeepAliveInterval

public void setKeepAliveInterval(long keepAliveInterval)
Specified by:
setKeepAliveInterval in interface ConnectionParams

getKeepAliveTimeout

public long getKeepAliveTimeout()
Specified by:
getKeepAliveTimeout in interface ConnectionParams

setKeepAliveTimeout

public void setKeepAliveTimeout(long keepAliveTimeout)
Specified by:
setKeepAliveTimeout in interface ConnectionParams

isInvmDisabled

public boolean isInvmDisabled()
Specified by:
isInvmDisabled in interface ConnectionParams

setInvmDisabled

public void setInvmDisabled(boolean invmDisabled)
Specified by:
setInvmDisabled in interface ConnectionParams

isInvmDisabledModified

public boolean isInvmDisabledModified()
Specified by:
isInvmDisabledModified in interface ConnectionParams

setInvmDisabledModified

public void setInvmDisabledModified(boolean invmDisabledModified)
Specified by:
setInvmDisabledModified in interface ConnectionParams

isTcpNoDelay

public boolean isTcpNoDelay()
Specified by:
isTcpNoDelay in interface ConnectionParams

setTcpNoDelay

public void setTcpNoDelay(boolean tcpNoDelay)
Specified by:
setTcpNoDelay in interface ConnectionParams

getTcpReceiveBufferSize

public int getTcpReceiveBufferSize()
Specified by:
getTcpReceiveBufferSize in interface ConnectionParams

setTcpReceiveBufferSize

public void setTcpReceiveBufferSize(int tcpReceiveBufferSize)
Specified by:
setTcpReceiveBufferSize in interface ConnectionParams

getTcpSendBufferSize

public int getTcpSendBufferSize()
Specified by:
getTcpSendBufferSize in interface ConnectionParams

setTcpSendBufferSize

public void setTcpSendBufferSize(int tcpSendBufferSize)
Specified by:
setTcpSendBufferSize in interface ConnectionParams

getWriteQueueBlockTimeout

public long getWriteQueueBlockTimeout()
Specified by:
getWriteQueueBlockTimeout in interface ConnectionParams

getWriteQueueMaxBytes

public long getWriteQueueMaxBytes()
Specified by:
getWriteQueueMaxBytes in interface ConnectionParams

getWriteQueueMinBytes

public long getWriteQueueMinBytes()
Specified by:
getWriteQueueMinBytes in interface ConnectionParams

setWriteQueueBlockTimeout

public void setWriteQueueBlockTimeout(long timeout)
Specified by:
setWriteQueueBlockTimeout in interface ConnectionParams

setWriteQueueMaxBytes

public void setWriteQueueMaxBytes(long bytes)
Specified by:
setWriteQueueMaxBytes in interface ConnectionParams

setWriteQueueMinBytes

public void setWriteQueueMinBytes(long bytes)
Specified by:
setWriteQueueMinBytes in interface ConnectionParams

isSSLEnabled

public boolean isSSLEnabled()
Specified by:
isSSLEnabled in interface ConnectionParams

setSSLEnabled

public void setSSLEnabled(boolean sslEnabled)
Specified by:
setSSLEnabled in interface ConnectionParams

isSSLEnabledModified

public boolean isSSLEnabledModified()
Specified by:
isSSLEnabledModified in interface ConnectionParams

setSSLEnabledModified

public void setSSLEnabledModified(boolean sslEnabledModified)
Specified by:
setSSLEnabledModified in interface ConnectionParams

getKeyStorePath

public java.lang.String getKeyStorePath()
Specified by:
getKeyStorePath in interface ConnectionParams

setKeyStorePath

public void setKeyStorePath(java.lang.String keyStorePath)
Specified by:
setKeyStorePath in interface ConnectionParams

getKeyStorePassword

public java.lang.String getKeyStorePassword()
Specified by:
getKeyStorePassword in interface ConnectionParams

setKeyStorePassword

public void setKeyStorePassword(java.lang.String keyStorePassword)
Specified by:
setKeyStorePassword in interface ConnectionParams

getTrustStorePath

public java.lang.String getTrustStorePath()
Specified by:
getTrustStorePath in interface ConnectionParams

setTrustStorePath

public void setTrustStorePath(java.lang.String trustStorePath)
Specified by:
setTrustStorePath in interface ConnectionParams

getTrustStorePassword

public java.lang.String getTrustStorePassword()
Specified by:
getTrustStorePassword in interface ConnectionParams

setTrustStorePassword

public void setTrustStorePassword(java.lang.String trustStorePassword)
Specified by:
setTrustStorePassword in interface ConnectionParams

getURI

public java.lang.String getURI()
Specified by:
getURI in interface ConnectionParams


Copyright © 2006 JBoss Inc. All Rights Reserved.