- com
- softwareag
- umtransport
- ServerContextBuilder
This is an abstract builder object that is used to create ServerTransports More...
#include <ServerContextBuilder.h>
Protected Member Functions | |
std::string | getAdapter () |
Get the value that is currently set for the adapter on this machine that Socket Transport will bind to, or gets the value that is currently set for the adapter on this machine that RDMA Transport will bind to. Connections will only be accepted on this adapter. "0.0.0.0" means all adapters on the machine. More... | |
int | getBufferSize () |
Get the buffer size in bytes that will be used by the ServerTransports More... | |
std::string | getEnabledCiphers () |
Get the ciphers that should be enabled (if supported) on the ServerTransport More... | |
std::string | getFilePath () |
Get the file path that is currently set. The path will be used to store the memory mapped files required by the SHM Transport. More... | |
std::string | getKeyStore () |
Get the location of the key store where the server certificate is stored More... | |
std::string | getKeyStorePassword () |
Get the password that should be used to access the key store on the local machine More... | |
int | getLockWait () |
Get the current wait time for yielding a spin lock. Advanced option for SHM transports only. More... | |
int | getPort () |
Returns the current value that has been set for the port More... | |
int | getReadBufferSize () |
Get the current value that has been set for the read buffer size More... | |
longlong | getSpinCount () |
Gets the current active spin count. Advanced option for SHM transports only. More... | |
int | getTimeout () |
Returns the current value that has been set for the socket timeout, or gets the current value for the time in ms that the SHM Transport should wait for information before timing out a connection More... | |
std::string | getTrustStore () |
Get the location set of the trust store on the local machine More... | |
int | getWriteBufferSize () |
Get the current value that has been set for the write buffer size More... | |
bool | isClientCertificateValidationRequired () |
Used to determine whether or not the client is required to present a certificate. Currently client certificate validation is not supported. More... | |
ServerContextBuilder * | withAdapter (const std::string &s) |
Set the value for the adapter on this machine that SocketTransport will bind to, or sets the value for the adapter on this machine that the Infiniband RDMA driver will bind to. Connections will only be accepted on this adapter. "0.0.0.0" means all adapters on the machine. More... | |
ServerContextBuilder * | withBufferSize (int bufferSize) |
Set the buffer size in bytes that will be used by the SHM ServerTransports More... | |
ServerContextBuilder * | withEnabledCiphers (const std::string &enabledCiphers) |
Set the ciphers that should be enabled (if supported) on the ServerTransport More... | |
ServerContextBuilder * | withFilePath (const std::string &path) |
Set the path to the directory which will be used to store the memory mapped files used by the SHM Transport. More... | |
ServerContextBuilder * | withKeyStore (const std::string &keyStore) |
Set the location of the key store where the server certificate is stored More... | |
ServerContextBuilder * | withKeyStorePassword (const std::string &keyStorePassword) |
Set the password that should be used to access the key store keyStorePassword the key store password More... | |
ServerContextBuilder * | withLockWait (const int count) |
Sets the waiting time (in nanoseconds) for yielding a spin lock. Advanced configuration option, use judiciously. More... | |
ServerContextBuilder * | withPort (int port) |
Sets the server port that the ServerTransport should bind to More... | |
ServerContextBuilder * | withReadBufferSize (int readBufferSize) |
Set the size in bytes of the read buffer that the ServerTransport should use More... | |
ServerContextBuilder * | withSpinCount (const longlong count) |
Sets the spin count for reading data from an SHM input stream. Advanced configuration option, use judiciously. More... | |
ServerContextBuilder * | withTimeout (int timeout) |
Sets the server timeout that any ServerSocket's created from this Builder will adhere to, or sets the time in ms that the SHM Transport should wait for information before timing out a connection More... | |
ServerContextBuilder * | withTrustStore (const std::string &trustStore) |
Set the location of the trust store where certificates will be validated More... | |
ServerContextBuilder * | withWriteBufferSize (int writeBufferSize) |
Set the size in bytes of the write buffer that the ServerTransport should use More... | |
This is an abstract builder object that is used to create ServerTransports
<seealso cref= ServerSocketTransportContext::Builder
<seealso cref= ServerSSLTransportContext::Builder
<seealso cref= ServerRDMATransportContext::Builder
<seealso cref= ServerSHMTransportContext::Builder
|
protected |
Get the value that is currently set for the adapter on this machine that Socket Transport will bind to, or gets the value that is currently set for the adapter on this machine that RDMA Transport will bind to. Connections will only be accepted on this adapter. "0.0.0.0" means all adapters on the machine.
|
protected |
Get the buffer size in bytes that will be used by the ServerTransports
|
protected |
Get the ciphers that should be enabled (if supported) on the ServerTransport
|
protected |
|
protected |
Get the location of the key store where the server certificate is stored
|
protected |
Get the password that should be used to access the key store on the local machine
|
protected |
Get the current wait time for yielding a spin lock. Advanced option for SHM transports only.
|
protected |
Returns the current value that has been set for the port
|
protected |
Get the current value that has been set for the read buffer size
|
protected |
Gets the current active spin count. Advanced option for SHM transports only.
|
protected |
Returns the current value that has been set for the socket timeout, or gets the current value for the time in ms that the SHM Transport should wait for information before timing out a connection
|
protected |
Get the location set of the trust store on the local machine
|
protected |
Get the current value that has been set for the write buffer size
|
protected |
Used to determine whether or not the client is required to present a certificate. Currently client certificate validation is not supported.
|
protected |
Set the value for the adapter on this machine that SocketTransport will bind to, or sets the value for the adapter on this machine that the Infiniband RDMA driver will bind to. Connections will only be accepted on this adapter. "0.0.0.0" means all adapters on the machine.
|
protected |
Set the buffer size in bytes that will be used by the SHM ServerTransports
|
protected |
Set the ciphers that should be enabled (if supported) on the ServerTransport
enabledCiphers | openSSL formatted string of ciphers to use |
|
protected |
Set the path to the directory which will be used to store the memory mapped files used by the SHM Transport.
path | of the directory used for communication |
|
protected |
Set the location of the key store where the server certificate is stored
keyStore | the location of the key store |
|
protected |
Set the password that should be used to access the key store keyStorePassword the key store password
|
protected |
Sets the waiting time (in nanoseconds) for yielding a spin lock. Advanced configuration option, use judiciously.
count | the time (in nanoseconds) to yield a spin lock |
|
protected |
Sets the server port that the ServerTransport should bind to
port | the port that will be bound to by the ServerTranport |
|
protected |
Set the size in bytes of the read buffer that the ServerTransport should use
readBufferSize | size of the buffer in bytes |
|
protected |
Sets the spin count for reading data from an SHM input stream. Advanced configuration option, use judiciously.
count | the number of times to spin waiting for data to arrive |
|
protected |
Sets the server timeout that any ServerSocket's created from this Builder will adhere to, or sets the time in ms that the SHM Transport should wait for information before timing out a connection
timeout | the timeout that will be bound to by the ServerTransport in milliseconds |
|
protected |
Set the location of the trust store where certificates will be validated
trustStore | the location of the trust store |
|
protected |
Set the size in bytes of the write buffer that the ServerTransport should use
writeBufferSize | size of the buffer in bytes |