Files @ 40f2a8696b57
Branch filter:

Location: libtransport.git/include/Swiften/TLS/TLSServerContextFactory.h

Vitaly Takmazov
fixed crash when spectrum receives xmpp ping from another server
/*
 * Copyright (c) 2010 Remko Tronçon
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */

#pragma once

namespace Swift {
	class TLSServerContext;

	class TLSServerContextFactory {
		public:
			virtual ~TLSServerContextFactory();

			virtual bool canCreate() const = 0;

			virtual TLSServerContext* createTLSServerContext() = 0;
	};
}