org.apache.qpid.transport
Class ConnectionSettings

java.lang.Object
  extended by org.apache.qpid.transport.ConnectionSettings

public class ConnectionSettings
extends Object

A ConnectionSettings object can only be associated with one Connection object. I have added an assertion that will throw an exception if it is used by more than on Connection


Field Summary
(package private)  String certAlias
           
(package private)  int heartbeatInterval
           
(package private)  String host
           
(package private)  String keyStoreCertType
           
(package private)  String keyStorePassword
           
(package private)  String keyStorePath
           
(package private)  int maxChannelCount
           
(package private)  int maxFrameSize
           
(package private)  String password
           
(package private)  int port
           
(package private)  String protocol
           
(package private)  int readBufferSize
           
(package private)  String saslMechs
           
(package private)  String saslProtocol
           
(package private)  String saslServerName
           
(package private)  boolean tcpNodelay
           
(package private)  long transportTimeout
           
(package private)  String trustStoreCertType
           
(package private)  String trustStorePassword
           
(package private)  String trustStorePath
           
(package private)  String username
           
(package private)  boolean useSASLEncryption
           
(package private)  boolean useSSL
           
(package private)  boolean verifyHostname
           
(package private)  String vhost
           
(package private)  int writeBufferSize
           
 
Constructor Summary
ConnectionSettings()
           
 
Method Summary
 String getCertAlias()
           
 Map<String,Object> getClientProperties()
           
 int getHeartbeatInterval()
           
 String getHost()
           
 String getKeyStoreCertType()
           
 String getKeyStorePassword()
           
 String getKeyStorePath()
           
 int getMaxChannelCount()
           
 int getMaxFrameSize()
           
 String getPassword()
           
 int getPort()
           
 String getProtocol()
           
 int getReadBufferSize()
           
 String getSaslMechs()
           
 String getSaslProtocol()
           
 String getSaslServerName()
           
 long getTransportTimeout()
           
 String getTrustStoreCertType()
           
 String getTrustStorePassword()
           
 String getTrustStorePath()
           
 String getUsername()
           
 String getVhost()
           
 int getWriteBufferSize()
           
 boolean isTcpNodelay()
           
 boolean isUseSASLEncryption()
           
 boolean isUseSSL()
           
 boolean isVerifyHostname()
           
 void setCertAlias(String certAlias)
           
 void setClientProperties(Map<String,Object> clientProperties)
           
 void setHeartbeatInterval(int heartbeatInterval)
           
 void setHost(String host)
           
 void setKeyStoreCertType(String keyStoreCertType)
           
 void setKeyStorePassword(String keyStorePassword)
           
 void setKeyStorePath(String keyStorePath)
           
 void setMaxChannelCount(int maxChannelCount)
           
 void setMaxFrameSize(int maxFrameSize)
           
 void setPassword(String password)
           
 void setPort(int port)
           
 void setProtocol(String protocol)
           
 void setReadBufferSize(int readBufferSize)
           
 void setSaslMechs(String saslMechs)
           
 void setSaslProtocol(String saslProtocol)
           
 void setSaslServerName(String saslServerName)
           
 void setTcpNodelay(boolean tcpNodelay)
           
 void setTransportTimeout(long transportTimeout)
           
 void setTrustStoreCertType(String trustStoreCertType)
           
 void setTrustStorePassword(String trustStorePassword)
           
 void setTrustStorePath(String trustStorePath)
           
 void setUsername(String username)
           
 void setUseSASLEncryption(boolean useSASLEncryption)
           
 void setUseSSL(boolean useSSL)
           
 void setVerifyHostname(boolean verifyHostname)
           
 void setVhost(String vhost)
           
 void setWriteBufferSize(int writeBufferSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocol

String protocol

host

String host

vhost

String vhost

username

String username

password

String password

port

int port

tcpNodelay

boolean tcpNodelay

maxChannelCount

int maxChannelCount

maxFrameSize

int maxFrameSize

heartbeatInterval

int heartbeatInterval

readBufferSize

int readBufferSize

writeBufferSize

int writeBufferSize

transportTimeout

long transportTimeout

useSSL

boolean useSSL

keyStorePath

String keyStorePath

keyStorePassword

String keyStorePassword

keyStoreCertType

String keyStoreCertType

trustStoreCertType

String trustStoreCertType

trustStorePath

String trustStorePath

trustStorePassword

String trustStorePassword

certAlias

String certAlias

verifyHostname

boolean verifyHostname

saslMechs

String saslMechs

saslProtocol

String saslProtocol

saslServerName

String saslServerName

useSASLEncryption

boolean useSASLEncryption
Constructor Detail

ConnectionSettings

public ConnectionSettings()
Method Detail

isTcpNodelay

public boolean isTcpNodelay()

setTcpNodelay

public void setTcpNodelay(boolean tcpNodelay)

getHeartbeatInterval

public int getHeartbeatInterval()

setHeartbeatInterval

public void setHeartbeatInterval(int heartbeatInterval)

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

getHost

public String getHost()

setHost

public void setHost(String host)

getPort

public int getPort()

setPort

public void setPort(int port)

getVhost

public String getVhost()

setVhost

public void setVhost(String vhost)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

isUseSSL

public boolean isUseSSL()

setUseSSL

public void setUseSSL(boolean useSSL)

isUseSASLEncryption

public boolean isUseSASLEncryption()

setUseSASLEncryption

public void setUseSASLEncryption(boolean useSASLEncryption)

getSaslMechs

public String getSaslMechs()

setSaslMechs

public void setSaslMechs(String saslMechs)

getSaslProtocol

public String getSaslProtocol()

setSaslProtocol

public void setSaslProtocol(String saslProtocol)

getSaslServerName

public String getSaslServerName()

setSaslServerName

public void setSaslServerName(String saslServerName)

getMaxChannelCount

public int getMaxChannelCount()

setMaxChannelCount

public void setMaxChannelCount(int maxChannelCount)

getMaxFrameSize

public int getMaxFrameSize()

setMaxFrameSize

public void setMaxFrameSize(int maxFrameSize)

setClientProperties

public void setClientProperties(Map<String,Object> clientProperties)

getClientProperties

public Map<String,Object> getClientProperties()

getKeyStorePath

public String getKeyStorePath()

setKeyStorePath

public void setKeyStorePath(String keyStorePath)

getKeyStorePassword

public String getKeyStorePassword()

setKeyStorePassword

public void setKeyStorePassword(String keyStorePassword)

getTrustStorePath

public String getTrustStorePath()

setTrustStorePath

public void setTrustStorePath(String trustStorePath)

getTrustStorePassword

public String getTrustStorePassword()

setTrustStorePassword

public void setTrustStorePassword(String trustStorePassword)

getCertAlias

public String getCertAlias()

setCertAlias

public void setCertAlias(String certAlias)

isVerifyHostname

public boolean isVerifyHostname()

setVerifyHostname

public void setVerifyHostname(boolean verifyHostname)

getKeyStoreCertType

public String getKeyStoreCertType()

setKeyStoreCertType

public void setKeyStoreCertType(String keyStoreCertType)

getTrustStoreCertType

public String getTrustStoreCertType()

setTrustStoreCertType

public void setTrustStoreCertType(String trustStoreCertType)

getReadBufferSize

public int getReadBufferSize()

setReadBufferSize

public void setReadBufferSize(int readBufferSize)

getWriteBufferSize

public int getWriteBufferSize()

setWriteBufferSize

public void setWriteBufferSize(int writeBufferSize)

getTransportTimeout

public long getTransportTimeout()

setTransportTimeout

public void setTransportTimeout(long transportTimeout)


Licensed to the Apache Software Foundation