All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.appconn.annotation.AppconnService Maven / Gradle / Ivy

Go to download

Java library for easy and fast implementation of distributed applications, including, optimized serialization, high availability administration and server resources management.

There is a newer version: 1.2
Show newest version
package org.appconn.annotation;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

/**
 * Annotation used to define an appconn service.
 *
 * 

This annotation is intended to be used on {@code public} interfaces. * The {@code @AppconnService} annotated interface should include the definition of * {@link org.appconn.annotation.AppconnMethod AppconnMethod} annotated methods intended * for remote calling. * *

The {@code @AppconnService} annotated interface should be implemented and instanced * for publishing on the server side, or appconn instantiated on the client side. * Implementation is only required on the server, client only requires access to the * {@code @AppconnService} annotated interface. * @since 1.8 */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(value = {ElementType.TYPE}) public @interface AppconnService { /** * @return the amount of units for the connectTimeout */ int connectTimeout() default 4; /** * @return the TimeUnit used for the connectTimeout */ TimeUnit unit() default TimeUnit.SECONDS; /** * @return the round trip delay in millis */ int delayMillis() default 8; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy