Author: tabish
Date: Mon Mar 29 19:43:57 2010
New Revision: 928885
URL: http://svn.apache.org/viewvc?rev=928885&view=rev
Log:
Add a default impl of the SslSocketFactory
Added:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.cpp
(with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.h
(with props)
Added:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.cpp?rev=928885&view=auto
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.cpp
(added)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.cpp
Mon Mar 29 19:43:57 2010
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "DefaultSSLSocketFactory.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::net::ssl;
+
+////////////////////////////////////////////////////////////////////////////////
+DefaultSSLSocketFactory::~DefaultSSLSocketFactory() {
+}
+
Propchange:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.h?rev=928885&view=auto
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.h
(added)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.h
Mon Mar 29 19:43:57 2010
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _DECAF_NET_SSL_DEFAULTSSLSOCKETFACTORY_H_
+#define _DECAF_NET_SSL_DEFAULTSSLSOCKETFACTORY_H_
+
+#include <decaf/util/Config.h>
+
+#include <decaf/net/ssl/SSLSocketFactory.h>
+
+namespace decaf {
+namespace net {
+namespace ssl {
+
+ /**
+ * Default implementation of the SSLSocketFactory, creates an SSLSocket
layered
+ * around a Decaf TCP/IP Socket instance.
+ *
+ * @since 1.0
+ */
+ class DECAF_API DefaultSSLSocketFactory : public SSLSocketFactory {
+ public:
+
+ virtual ~DefaultSSLSocketFactory();
+
+ };
+
+}}}
+
+#endif /* _DECAF_NET_SSL_DEFAULTSSLSOCKETFACTORY_H_ */
Propchange:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ssl/DefaultSSLSocketFactory.h
------------------------------------------------------------------------------
svn:eol-style = native