
com.github.thorbenkuck.netcom2.auto.annotations.Disconnect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of NetCom2-Auto Show documentation
Show all versions of NetCom2-Auto Show documentation
Annotation approach to reduce boilerplate code
The newest version!
package com.github.thorbenkuck.netcom2.auto.annotations;
import java.lang.annotation.*;
/**
* Handles the connection of a new {@link com.github.thorbenkuck.netcom2.network.shared.clients.Client}.
*
* Any annotated method might have one or zero parameters. If one parameter is present, it must be a {@link com.github.thorbenkuck.netcom2.network.shared.clients.Client}
*/
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
@Documented
public @interface Disconnect {
String name() default "";
boolean autoLoad() default true;
boolean forServer() default true;
boolean forClient() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy