Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
qpid/client/ConnectionSettings.h
Go to the documentation of this file.
00001 #ifndef QPID_CLIENT_CONNECTIONSETTINGS_H
00002 #define QPID_CLIENT_CONNECTIONSETTINGS_H
00003 
00004 /*
00005  *
00006  * Licensed to the Apache Software Foundation (ASF) under one
00007  * or more contributor license agreements.  See the NOTICE file
00008  * distributed with this work for additional information
00009  * regarding copyright ownership.  The ASF licenses this file
00010  * to you under the Apache License, Version 2.0 (the
00011  * "License"); you may not use this file except in compliance
00012  * with the License.  You may obtain a copy of the License at
00013  *
00014  *   http://www.apache.org/licenses/LICENSE-2.0
00015  *
00016  * Unless required by applicable law or agreed to in writing,
00017  * software distributed under the License is distributed on an
00018  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00019  * KIND, either express or implied.  See the License for the
00020  * specific language governing permissions and limitations
00021  * under the License.
00022  *
00023  */
00024 
00025 #include "qpid/client/ClientImportExport.h"
00026 #include "qpid/framing/FieldTable.h"
00027 #include "qpid/sys/IntegerTypes.h"
00028 #include <string>
00029 
00030 namespace qpid {
00031 
00032 namespace sys {
00033 class Socket;
00034 }
00035 
00036 namespace client {
00037 
00041 struct QPID_CLIENT_CLASS_EXTERN ConnectionSettings {
00042 
00043     QPID_CLIENT_EXTERN ConnectionSettings();
00044     QPID_CLIENT_EXTERN virtual ~ConnectionSettings();
00045 
00050     QPID_CLIENT_EXTERN virtual void configureSocket(qpid::sys::Socket&) const;
00051 
00055     std::string protocol;
00056 
00060     std::string host;
00064     uint16_t port;
00069     std::string virtualhost;
00070 
00075     std::string username;
00079     std::string password;
00084     std::string mechanism;
00088     std::string locale;
00092     uint16_t heartbeat;
00097     uint16_t maxChannels;
00102     uint16_t maxFrameSize;
00107     unsigned int bounds;
00111     bool tcpNoDelay;
00115     std::string service;
00120     unsigned int minSsf;
00125     unsigned int maxSsf;
00130     std::string sslCertName;
00131 
00135     framing::FieldTable clientProperties;
00136 };
00137 
00138 }} // namespace qpid::client
00139 
00140 #endif  

Qpid C++ API Reference
Generated on Wed Jan 9 2013 for Qpid C++ Client API by doxygen 1.7.5