IPoolableAdapter.cs 402 Bytes
Newer Older
Vaclav Svaton's avatar
Vaclav Svaton committed
1 2 3 4 5 6 7 8 9 10 11
using HaaSMiddleware.DomainObjects.ClusterInformation;

namespace HaaSMiddleware.ConnectionPool {
	public interface IPoolableAdapter {
		object CreateConnectionObject(string masterNodeName, ClusterAuthenticationCredentials clusterCredentials);

		void Connect(object connection, string masterNodeName, ClusterAuthenticationCredentials clusterCredentials);

		void Disconnect(object connection);
	}
}