/*
 * Copyright (C) 2016 Cognifide Limited
 *
 * Licensed 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.
 */
package io.knotx.proxy;

import io.knotx.dataobjects.AdapterRequest;
import io.knotx.dataobjects.AdapterResponse;
import io.vertx.codegen.annotations.ProxyGen;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.eventbus.DeliveryOptions;

/**
 * @deprecated  As of release 1.3.1, replaced by <a href="https://github.com/Knotx/knotx-data-bridge/blob/master/api/src/main/java/io/knotx/databridge/api/DataSourceAdapterProxy.java">DataSourceAdapterProxy</a>
 * @see <a href="https://github.com/Knotx/knotx-data-bridge">Knot.x Data Bridge</a>
 */
@Deprecated
@ProxyGen
@VertxGen
public interface AdapterProxy {

  static AdapterProxy createProxy(Vertx vertx, String address) {
    return new AdapterProxyVertxEBProxy(vertx, address);
  }

  static AdapterProxy createProxyWithOptions(Vertx vertx, String address, DeliveryOptions deliveryOptions) {
    return new AdapterProxyVertxEBProxy(vertx, address, deliveryOptions);
  }

  void process(AdapterRequest request, Handler<AsyncResult<AdapterResponse>> result);
}

@@ -948,311 +948,8 @@
 s;%0A%0A
-/**%0A * @deprecated  As of release 1.3.1, replaced by %3Ca href=%22https://github.com/Knotx/knotx-data-bridge/blob/master/api/src/main/java/io/knotx/databridge/api/DataSourceAdapterProxy.java%22%3EDataSourceAdapterProxy%3C/a%3E%0A * @see %3Ca href=%22https://github.com/Knotx/knotx-data-bridge%22%3EKnot.x Data Bridge%3C/a%3E%0A */%0A
 @Dep

Mark all Service Knot related classes deprecated: removing javadoc from proxy-gen interface.