本文整理了Java中io.vertx.codegen.annotations.ProxyGen.<init>()
方法的一些代码示例,展示了ProxyGen.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ProxyGen.<init>()
方法的具体详情如下:
包路径:io.vertx.codegen.annotations.ProxyGen
类名称:ProxyGen
方法名:<init>
暂无
代码示例来源:origin: vert-x3/vertx-examples
@ProxyGen
@VertxGen
public interface MyService {
@Fluent
MyService sayHello(String name, Handler<AsyncResult<String>> handler);
}
代码示例来源:origin: vert-x3/vertx-examples
@ProxyGen
@VertxGen
public interface SomeDatabaseService {
@GenIgnore
static SomeDatabaseService create() {
return new SomeDatabaseServiceImpl();
}
@GenIgnore
static io.vertx.example.reactivex.services.serviceproxy.reactivex.SomeDatabaseService createProxy(Vertx vertx, String address) {
return new io.vertx.example.reactivex.services.serviceproxy.reactivex.SomeDatabaseService(new SomeDatabaseServiceVertxEBProxy(vertx, address));
}
// To use Rx-ified method, just declare your methods in a call-back style here.
// The Rx-ified methods will be automatically generated.
@Fluent
SomeDatabaseService getDataById(int id, Handler<AsyncResult<JsonObject>> resultHandler);
}
代码示例来源:origin: vert-x3/vertx-examples
@ProxyGen // Generate the proxy and handler
代码示例来源:origin: io.knotx/knotx-core
@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);
}
代码示例来源:origin: Cognifide/knotx
@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);
}
代码示例来源:origin: vert-x3/vertx-service-proxy
/**
* @author <a href="http://tfox.org">Tim Fox</a>
*/
@ProxyGen
public interface InvalidClose3 {
@ProxyClose
void closeIt(Handler<AsyncResult<String>> handler, String s);
}
代码示例来源:origin: io.knotx/knotx-core
@ProxyGen
@VertxGen
public interface RepositoryConnectorProxy {
static RepositoryConnectorProxy createProxy(Vertx vertx, String address) {
return new RepositoryConnectorProxyVertxEBProxy(vertx, address);
}
static RepositoryConnectorProxy createProxyWithOptions(Vertx vertx, String address, DeliveryOptions deliveryOptions) {
return new RepositoryConnectorProxyVertxEBProxy(vertx, address, deliveryOptions);
}
void process(ClientRequest request, Handler<AsyncResult<ClientResponse>> result);
}
代码示例来源:origin: vert-x3/vertx-service-proxy
/**
* @author <a href="http://tfox.org">Tim Fox</a>
*/
@ProxyGen
public interface InvalidParams1 {
void someMethod(VertxGen vertxGen);
}
代码示例来源:origin: vert-x3/vertx-service-proxy
/**
* @author <a href="http://tfox.org">Tim Fox</a>
*/
@ProxyGen
public interface InvalidClose1 {
@ProxyClose
void closeIt(Handler<AsyncResult<String>> handler);
}
代码示例来源:origin: vert-x3/vertx-service-proxy
/**
* @author <a href="http://tfox.org">Tim Fox</a>
*/
@ProxyGen
public interface ValidProxyCloseWithFuture {
@ProxyClose
void closeIt(Handler<AsyncResult<Void>> handler);
}
代码示例来源:origin: io.knotx/knotx-forms-api
@ProxyGen
@VertxGen
public interface FormsAdapterProxy {
static FormsAdapterProxy createProxy(Vertx vertx, String address) {
return new FormsAdapterProxyVertxEBProxy(vertx, address);
}
static FormsAdapterProxy createProxyWithOptions(Vertx vertx, String address, DeliveryOptions deliveryOptions) {
return new FormsAdapterProxyVertxEBProxy(vertx, address, deliveryOptions);
}
void process(FormsAdapterRequest request, Handler<AsyncResult<FormsAdapterResponse>> result);
}
代码示例来源:origin: io.knotx/knotx-databridge-api
@ProxyGen
@VertxGen
public interface DataSourceAdapterProxy {
static DataSourceAdapterProxy createProxy(Vertx vertx, String address) {
return new DataSourceAdapterProxyVertxEBProxy(vertx, address);
}
static DataSourceAdapterProxy createProxyWithOptions(Vertx vertx, String address, DeliveryOptions deliveryOptions) {
return new DataSourceAdapterProxyVertxEBProxy(vertx, address, deliveryOptions);
}
void process(DataSourceAdapterRequest request, Handler<AsyncResult<DataSourceAdapterResponse>> result);
}
代码示例来源:origin: io.knotx/knotx-core
@ProxyGen
@VertxGen
public interface KnotProxy {
static KnotProxy createProxy(Vertx vertx, String address) {
return new KnotProxyVertxEBProxy(vertx, address);
}
static KnotProxy createProxyWithOptions(Vertx vertx, String address, DeliveryOptions deliveryOptions) {
return new KnotProxyVertxEBProxy(vertx, address, deliveryOptions);
}
void process(KnotContext knotContext, Handler<AsyncResult<KnotContext>> result);
}
代码示例来源:origin: Cognifide/knotx
@ProxyGen
@VertxGen
public interface KnotProxy {
static KnotProxy createProxy(Vertx vertx, String address) {
return new KnotProxyVertxEBProxy(vertx, address);
}
static KnotProxy createProxyWithOptions(Vertx vertx, String address, DeliveryOptions deliveryOptions) {
return new KnotProxyVertxEBProxy(vertx, address, deliveryOptions);
}
void process(KnotContext knotContext, Handler<AsyncResult<KnotContext>> result);
}
代码示例来源:origin: vert-x3/vertx-service-proxy
/**
* Test base imports are corrects.
*
* @author <a href="mailto:julien@julienviet.com">Julien Viet</a>
*/
@ProxyGen
@VertxGen
public interface TestBaseImportsService {
void m();
}
代码示例来源:origin: io.vertx/vertx-service-discovery
/**
* @author <a href="http://escoffier.me">Clement Escoffier</a>
*/
@ProxyGen
@VertxGen
public interface HelloService {
void hello(JsonObject name, Handler<AsyncResult<String>> resultHandler);
}
代码示例来源:origin: vert-x3/vertx-rx
/**
* @author <a href="http://escoffier.me">Clement Escoffier</a>
*/
@ProxyGen
@VertxGen
public interface HelloService {
void hello(JsonObject name, Handler<AsyncResult<String>> resultHandler);
}
代码示例来源:origin: io.vertx/vertx-rx-java2
/**
* @author <a href="http://escoffier.me">Clement Escoffier</a>
*/
@ProxyGen
@VertxGen
public interface HelloService {
void hello(JsonObject name, Handler<AsyncResult<String>> resultHandler);
}
代码示例来源:origin: io.vertx/vertx-lang-ruby
/**
* @author <a href="http://escoffier.me">Clement Escoffier</a>
*/
@ProxyGen
@VertxGen
public interface HelloService {
void hello(JsonObject name, Handler<AsyncResult<String>> resultHandler);
}
代码示例来源:origin: io.vertx/vertx-lang-js
/**
* @author <a href="http://escoffier.me">Clement Escoffier</a>
*/
@ProxyGen
@VertxGen
public interface HelloService {
void hello(JsonObject name, Handler<AsyncResult<String>> resultHandler);
}
内容来源于网络,如有侵权,请联系作者删除!