Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
ConnectionSettings.h
Go to the documentation of this file.
1 #ifndef QPID_CLIENT_CONNECTIONSETTINGS_H
2 #define QPID_CLIENT_CONNECTIONSETTINGS_H
3 
4 /*
5  *
6  * Licensed to the Apache Software Foundation (ASF) under one
7  * or more contributor license agreements. See the NOTICE file
8  * distributed with this work for additional information
9  * regarding copyright ownership. The ASF licenses this file
10  * to you under the Apache License, Version 2.0 (the
11  * "License"); you may not use this file except in compliance
12  * with the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing,
17  * software distributed under the License is distributed on an
18  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19  * KIND, either express or implied. See the License for the
20  * specific language governing permissions and limitations
21  * under the License.
22  *
23  */
24 
27 #include "qpid/sys/IntegerTypes.h"
28 #include <string>
29 
30 namespace qpid {
31 
32 namespace sys {
33 class Socket;
34 }
35 
36 namespace client {
37 
42 
44  QPID_CLIENT_EXTERN virtual ~ConnectionSettings();
45 
50  QPID_CLIENT_EXTERN virtual void configureSocket(qpid::sys::Socket&) const;
51 
55  std::string protocol;
56 
60  std::string host;
69  std::string virtualhost;
70 
75  std::string username;
79  std::string password;
84  std::string mechanism;
88  std::string locale;
107  unsigned int bounds;
115  std::string service;
120  unsigned int minSsf;
125  unsigned int maxSsf;
130  std::string sslCertName;
131 
136 };
137 
138 }} // namespace qpid::client
139 
140 #endif
std::string virtualhost
Allows an AMQP &#39;virtual host&#39; to be specified for the connection.
framing::FieldTable clientProperties
Passed as client-propreties on opening the connecction.
uint16_t heartbeat
Allows a heartbeat frequency to be specified.
uint16_t maxChannels
The maximum number of channels that the client will request for use on this connection.
#define QPID_CLIENT_CLASS_EXTERN
unsigned int bounds
Limit the size of the connections send buffer .
std::string host
The host (or ip address) to connect to (defaults to &#39;localhost&#39;).
uint16_t port
The port to connect to (defaults to 5672).
bool tcpNoDelay
If true, TCP_NODELAY will be set for the connection.
std::string username
The username to use when authenticating the connection.
unsigned int maxSsf
Maximum acceptable strength of any SASL negotiated security layer.
std::string mechanism
The SASL mechanism to use when authenticating the connection; the options are currently PLAIN or ANON...
A set of name-value pairs.
Definition: FieldTable.h:53
#define QPID_CLIENT_EXTERN
std::string locale
Allows a locale to be specified for the connection.
std::string service
SASL service name.
uint16_t maxFrameSize
The maximum frame size that the client will request for this connection.
std::string password
The password to use when authenticating the connection.
unsigned short uint16_t
Definition: IntegerTypes.h:25
std::string protocol
The protocol used for the connection (defaults to &#39;tcp&#39;)
unsigned int minSsf
Minimum acceptable strength of any SASL negotiated security layer.
std::string sslCertName
SSL cert-name for the connection.
Settings for a Connection.

Qpid C++ API Reference
Generated on Tue Apr 14 2020 for Qpid C++ Client API by doxygen 1.8.5