#include <gridclientprotocolconfiguration.hpp>
List of all members.
Detailed Description
Protocol configuration.
Constructor & Destructor Documentation
| GridClientProtocolConfiguration::GridClientProtocolConfiguration |
( |
|
) |
|
Default public constructor.
Copy constructor.
- Parameters:
-
| other | Another instance of configuration. |
| GridClientProtocolConfiguration::~GridClientProtocolConfiguration |
( |
|
) |
[virtual] |
Member Function Documentation
| std::string GridClientProtocolConfiguration::certificateFilePassword |
( |
|
) |
const |
Password for the certificate.
- Returns:
- Password.
| void GridClientProtocolConfiguration::certificateFilePassword |
( |
const std::string & |
pass |
) |
|
Password for the certificate.
- Parameters:
-
| std::string GridClientProtocolConfiguration::certificateFilePath |
( |
|
) |
const |
Path to file where SSL certificate is stored. If path is not absolute, it's considered relative to GRIDGAIN_HOME.
- Returns:
- path to file.
| void GridClientProtocolConfiguration::certificateFilePath |
( |
const std::string & |
cert |
) |
|
Path to file where SSL certificate is stored. If path is not absolute, it's considered relative to GRIDGAIN_HOME.
- Parameters:
-
| int GridClientProtocolConfiguration::connectTimeout |
( |
|
) |
const |
Gets timeout for socket connect operation.
- Returns:
- Socket connect timeout in milliseconds.
| void GridClientProtocolConfiguration::connectTimeout |
( |
int |
t |
) |
|
Sets timeout for socket connect operation.
- Parameters:
-
| t | Socket connect timeout in milliseconds. |
| std::string GridClientProtocolConfiguration::credentials |
( |
|
) |
const |
Gets client credentials to authenticate with.
- Returns:
- Credentials.
| void GridClientProtocolConfiguration::credentials |
( |
const std::string & |
cred |
) |
|
Sets client credentials to authenticate with.
- Parameters:
-
| cred | New value for the credentials. |
| void GridClientProtocolConfiguration::maxConnectionIdleTime |
( |
long |
maxTime |
) |
|
Sets maximum amount of time that client connection can be idle before it is closed.
- Parameters:
-
| maxTime | Maximum idle time in milliseconds. |
| long GridClientProtocolConfiguration::maxConnectionIdleTime |
( |
|
) |
const |
Gets maximum amount of time that client connection can be idle before it is closed.
- Returns:
- Maximum idle time in milliseconds.
Assignment operator override.
- Parameters:
-
| rhs | Right-hand side of the assignment operator. |
- Returns:
- This instance of the class.
| void GridClientProtocolConfiguration::protocol |
( |
GridClientProtocol |
p |
) |
|
Sets protocol for communication between client and remote grid.
- Parameters:
-
| p | Protocol for communication between client and remote grid. |
| GridClientProtocol GridClientProtocolConfiguration::protocol |
( |
|
) |
const |
Gets protocol for communication between client and remote grid.
- Returns:
- Protocol for communication between client and remote grid.
| bool GridClientProtocolConfiguration::sslEnabled |
( |
|
) |
const |
Flag indicating whether client should try to connect server with secure socket layer enabled (regardless of protocol used).
- Returns:
True if SSL should be enabled.
Flag indicating whether client should try to connect server with secure socket layer enabled (regardless of protocol used).
- Returns:
- if SSL should be enabled.
| void GridClientProtocolConfiguration::sslEnabled |
( |
bool |
ssl |
) |
|
Flag indicating whether client should try to connect server with secure socket layer enabled (regardless of protocol used).
- Parameters:
-
| ssl | New value for the flag. |
Returns UUID used to authenticate
Member Data Documentation
Default port for communication using HTTP.
Default maximum time connection can be idle.
Default maximum time for a connection timeout.
Default port for communication using binary TCP/IP protocol.
The documentation for this class was generated from the following files: